> For the complete documentation index, see [llms.txt](https://docs.advertisingbeast.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.advertisingbeast.com/managing-advertising-accounts/modules/cross-module-components/data-tables/actions-bar/actions-edit/lock-unlock-records.md).

# 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
