# Lock a layer

Locking a layer allows you to disable a layer's edit-ability on the canvas. This means it's locked in place and can't be moved or interacted with in any way once locked.

This can be useful when you want to move overlapping layers and don't want the locked layer to be accidentally interacted with, such as a layer that serves as a background for other layers.

To lock a layer, go to the layer panel and toggle the 'lock' icon next to the layer.

<figure><img src="/files/EHtGTaUyx7uvB6FVdCDW" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lottielab.com/editor/organising-layers/layer-actions/lock-a-layer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
