> For the complete documentation index, see [llms.txt](https://docs.projectfatal.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.projectfatal.xyz/commands/moderation/lock/unlock.md).

# Unlock

Unlocks the channel to allow users to type again. Requires the "Administrator" permission to use.

The user isn't required to fill all options in, they are optional

<figure><img src="https://455014626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWDhLy7fnucL67uEj10BQ%2Fuploads%2FWJ5nPCI85jkGVnJmhzr0%2F2022-08-28%2016_21_15-bot-commands%20-%20Discord.png?alt=media&amp;token=27a38fb0-4bc4-4356-9b0e-cc0d2a6deec2" alt=""><figcaption></figcaption></figure>

The user doesn't need to mention the channel, if the channel isn't mentioned it will unlock the channel the command was executed in.

If the user executes the command without the correct permissions it will return an error messages.&#x20;

<figure><img src="https://455014626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWDhLy7fnucL67uEj10BQ%2Fuploads%2FeEkYEKDcjilyvQk87pQ7%2F2022-08-28%2016_24_50-bot-commands%20-%20Discord.png?alt=media&amp;token=59c5bcc8-7b93-4f92-977d-b46cfcd81c63" alt=""><figcaption></figcaption></figure>
