# Channel Locks

{% hint style="info" %}
**Premium Feature** — Channel locks require a Premium subscription. [Compare plans →](/securitybot-knowledge-hub/plans-and-pricing/plans-and-pricing.md)
{% endhint %}

Channel Locks help reduce the risk of damage if a Discord account is compromised. By requiring a password before any message can be sent in a protected channel, this feature prevents attackers from posting harmful content in key areas such as announcements or updates. Even if a trusted account is breached, Channel Locks ensure those high-risk channels remain secure.

***

### How It Works

* **Message Blocking**: Any message sent in a locked channel is automatically deleted.
* **Password Required**: The channel must be unlocked with the correct password before use.
* **Auto-Relock**: Channels re-lock automatically after one message or 30 minutes. (Whichever comes first)
* **Encrypted Storage**: Passwords are encrypted. No one, including SecurityBot staff, can access them.
* **Admin Required**: SecurityBot must have Administrator permissions to use Channel Locks.

***

### Create a Channel Lock

Use this command in the channel you want to lock. You’ll be prompted to enter and confirm a password.

```
/lock create
```

{% hint style="info" %}
Discord does not support hidden password fields. Your password will be visible while typing, make sure no one can see your screen.
{% endhint %}

***

### Toggle a Channel Lock

Lock or unlock the current channel by entering the password.

```
/lock toggle
```

***

### Update a Channel Password

Change the channel's password by entering the current password and confirming a new one.

```
/lock update
```

***

### Remove a Channel Lock

Remove the lock after entering the correct password.

```
/lock remove
```

***

### Forgot Your Password?

For your security, we cannot recover or reset Channel Lock passwords. If a password is lost, the lock must be removed and recreated.

***

### Best Practices

* **Use on high-risk channels** like `#announcements` or `#general`
* **Keep passwords private** and store them securely
* **Limit access** to users who truly need it
* **Review lock usage regularly** with your mod team

***

Next up: Detect suspicious activity with [Webhook Detection](/securitybot-knowledge-hub/bot-guide/scam-prevention-features/webhook-detection.md).


---

# 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://securitybot.gitbook.io/securitybot-knowledge-hub/bot-guide/scam-prevention-features/channel-locks.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.
