Locking a layer prevents the layer from being accidentally moved or edited. Once a layer is locked, it cannot be edited or moved in the canvas area, but you can select it within the layer list and modify its properties.
If the parent layer is locked, all child layers within the parent layer are also locked. The child layers cannot be unlocked unless the parent layer is unlocked.
Tip: Click and drag over the layers to lock or unlock multiple layers at once.
You can select layers in the canvas area or the layer list and use shortcuts to lock or unlock them: