> For the complete documentation index, see [llms.txt](https://docs.agilecase.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agilecase.com/user-documentation/the-case-tab/locking-a-case.md).

# Locking a Case

<figure><img src="/files/34KRunEYUeurTeCShqPh" alt=""><figcaption></figcaption></figure>

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

This lesson will show you how to lock a case, which will disable editing functionality for standard users until it is unlocked by an admin.

{% stepper %}
{% step %}

### Lock a case

To lock a case, use the dropdown menu beside the "Edit" button and click "Lock".
{% endstep %}

{% step %}

### Confirm the lock

<figure><img src="/files/eOgCF3UOYvodYno5fzWj" alt="" width="290"><figcaption></figcaption></figure>

You will be prompted to confirm that you want to lock the case.

Once locked, editing functionality will be disabled until an admin user unlocks the case.

To confirm that you want to lock the case click "Yes". The case will now be locked.
{% endstep %}

{% step %}

### Unlock a case

When locked, a padlock icon will be shown beside the case description.

To unlock the case click the unlock button. Only admin users can unlock a locked case.
{% endstep %}

{% step %}

### Confirm the unlock

<figure><img src="/files/WwPKVdQeVSklH3My7W8C" alt="" width="285"><figcaption></figcaption></figure>

When unlocking a case, you will also be prompted to confirm that you want to proceed.

Click "Yes" to unlock the case and re-enable editing functions.
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.agilecase.com/user-documentation/the-case-tab/locking-a-case.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
