In Microsoft Dynamics NAV 2009 R2, you can lock an object in Object Designer using Lock option. Along with Lock we have other options like Unlock and Force Unlock.
Along with these features you can automatically lock an object while opening the object in design mode.
This option is available in the Tools->Options->Auto-Lock on Design.