# LAYLCK Command [GstarCAD 2011](../../Index.md) → [Commands](../%28Commands%29.md) → [L](%28L%29.md) ## Function Description: > Lock the layer of a selected object **Menu:** > Format\>Layer Tools\>Layer Lock **Command Entry:** > LAYLCK **Command Prompt:** > Select an object on the layer to be locked\<exit\>: > > Select objects: ## Other versions with matching text [GstarCAD 2012](../../../2012/Commands/L/LAYLCK%20Command.md)