# Lock/unlock records

The "Lock/Unlock records" action is used to prevent operations from being executed on specific records. It's useful when you want certain records to remain unchanged by bulk operations or automated rules.

### Record lock status <a href="#record-lock-status" id="record-lock-status"></a>

The lock status is indicated by a lock icon in the "Locked" column.

<div align="left"><figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7EjUsysKr4AEohIaumYn%2Fuploads%2FPkmZC36Lg2sJWFwxyN1d%2Fimage.png?alt=media&#x26;token=0899ecb4-887d-4e20-bc10-7530752d16a1" alt=""><figcaption></figcaption></figure></div>

### Locking/Unlocking Records <a href="#locking-unlocking-records" id="locking-unlocking-records"></a>

There's no need to exclude already locked records when locking, or unlocked records when unlocking, as the system will automatically detect the status and execute accordingly.

1. Select the records you wish to lock or unlock using the checkboxes in the data table.
2. Under actions, click "Lock/Unlock Records".
3. Two options will appear:
   * Choose "Lock" to prevent records from being modified.![](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7EjUsysKr4AEohIaumYn%2Fuploads%2FNRZlOHMD2VDZcr5Tnl4W%2Fimage.png?alt=media\&token=0cf8e5a8-7fd6-4fbf-887e-68287f4d8a0e)
   * Choose "Unlock" to release records from lock

     <div align="left"><figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7EjUsysKr4AEohIaumYn%2Fuploads%2FX7iEZT9YGwNkxBLM9hMn%2Fimage.png?alt=media&#x26;token=3fe803b0-5354-442c-9e0c-32574cff6130" alt=""><figcaption></figcaption></figure></div>
4. Click "Apply" to submit your changes.

{% hint style="info" %}
You might need to reload the page to see the changes.
{% endhint %}

### Applicable m**odels** <a href="#applicable-models" id="applicable-models"></a>

This action is available for models that include create and update operations:

* Campaigns
* Ad groups
* Product ads
* Targeting
* Negative targeting


---

# 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.advertisingbeast.com/managing-advertising-accounts/modules/cross-module-components/data-tables/actions-bar/actions-edit/lock-unlock-records.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.
