You can lock or unlock a layer in the Layer Properties Manager or by selecting an object.
Layers panel
Layer Properties.

Objects on locked layers appear faded and a small lock icon is displayed when you hover over the object. Set the fade level for locked layers to easily see which objects are on locked layers. 