Use the LockLayer command to lock the layer of a selected entity.
When you lock a Layer, you cannot select or modify entities on the Layer.
To unlock a Layer, use the UnlockLayer command.
To lock a Layer:
Access
Command: LockLayer
Menu: Format > Layer Tools > Lock Layer
Layers Palette: Lock Layer