Re: scope of locked variables