# LAYLCK Command
[GstarCAD 2012](../../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 2011](../../../2011/Commands/L/LAYLCK%20Command--d3fe7d32761d.md)