> 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-contact-tab/locking-a-contact.md).

# Locking a Contact

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

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

This lesson will show you how to lock a contact in AgileCase. This will disable all editing functionality until the contact is unlocked by an admin.

{% stepper %}
{% step %}

### Lock a contact

Just like cases, your contacts in AgileCase can be locked.

Locking a contact will disable all editing functionality until an admin user unlocks them.

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

{% step %}

### Confirm the lock

<figure><img src="/files/TT5zBggMFUKeXXSSUUXB" alt="" width="284"><figcaption></figcaption></figure>

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

Click "Yes" to proceed. Once locked only an admin user can unlock the contact.
{% endstep %}

{% step %}

### Unlock a contact

When locked a padlock icon will be displayed beside the contact name and code.

Standard users will not be able to edit contact details until the case is unlocked.

To unlock a case click the "Unlock" button.
{% endstep %}

{% step %}

### Confirm the unlock

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

When unlocking a contact you will be prompted to confirm that you want to proceed. Click yes to do so.

The case will now be unlocked an editing will be re-enabled.
{% 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-contact-tab/locking-a-contact.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.
