How to lock and unlock layers?

Here is a short video that will take you through this process:

To lock a layer, select the element on the layers panel or the canvas, and click on the lock icon.

Locking layers prevents accidental edits to them.

A locked layer can be unlocked by clicking the lock icon.

We can also lock and unlock layers in the scene layers timeline.