> ## Documentation Index
> Fetch the complete documentation index at: https://react-docx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Locked

Content that people editing the document in Word cannot change or delete by accident.

```tsx theme={"dark"}
<Locked title="Executive header">
  <ExecutiveHeader company={company} info={info} />
</Locked>
```

***

## Props

| Prop       | Type        | Description                                   |
| ---------- | ----------- | --------------------------------------------- |
| `children` | `ReactNode` | Paragraphs, headings, tables, lists or images |
| `title`    | `string`    | Label Word shows on the content control       |

***

## How it works

`Locked` wraps its content in a Word content control with editing and deletion locked. The rest of the document stays editable.

This prevents accidental changes, not deliberate ones: anyone can remove the lock from Word's Developer tab. Combine it with `trackChanges` on the [Document](/react-docx/components/document#word-settings) to keep a record of edits.
