# Lock

The **Lock** command allows you to lock one or all channels in the server. You can lock channels with a specific reason or lock all channels at once. This is useful for temporarily restricting access to channels.

{% hint style="danger" %}
You need the **ManageChannels** permission for this command.
{% endhint %}

## How to Use

1. **Lock a Specific Channel**\
   Use the command to lock a specific channel and provide a reason:
   * `/lock [channel] [reason]`
   * `-lock [channel] [reason]`
2. **Lock All Channels**\
   To lock all channels in the server, use the following:
   * `/lock all [reason]`
   * `-lock all [reason]`

***

For further assistance, refer to the bot's help menu or [contact our support server](https://discord.gg/cGNFnsXpwZ).
