---
title: Content Locking
description: The Content Locking app locks a story while someone edits it, so only that editor can save changes.
url: https://www.storyblok.com/docs/apps/content-locking
---

# Content Locking

The Content Locking app locks a story when someone starts editing it, and prevents two editors from overwriting each other. Only the first editor can save. The app unlocks the story when that editor saves or leaves the story. Everyone else gets a notice in the Visual Editor.

## Features

-   Lock a story automatically while someone edits it.
-   Show who currently holds the lock.
-   Release the lock automatically after a period of inactivity.
-   Save the story automatically before the lock times out.
-   Hold the lock across automatic saves made by the [Autosave app](/docs/apps/autosave).

## Setup

Open **Settings** → **Content Locking** and enable **Automatically unlock a Story after user inactivity**. Set the inactivity period and the countdown duration in minutes, and optionally enable the automatic save that runs before the timeout.

When you also use the Autosave app, enable **Keep the content locked after autosave** in the same settings.

## Further resources

[Content Locking in the app directory](https://www.storyblok.com/apps/locking)

## Pagination

-   [Previous: commercetools](/docs/apps/commercetools)
-   [Next: Dimensions](/docs/apps/dimensions)
