# LAYLCK Command [GstarCAD 2015](../../Index.md) → [Commands](../%28Commands%29.md) → [L](%28L%29.md) Lock the layer of a selected object. ## Command Access: > **Toolbar:** Layers II > > **Menu:** Format \> Layer Tools \> Layer Lock > > **Command entry:** LAYLCK ## Command Prompts: > Select an object on the layer to be locked\<exit\>: *Select an object* ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/Commands/L/LAYLCK%20Command.md)