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

# +lock

Locks a channel

## Usage

```
+lock {channel}
```

## Arguments

| Name    | Description          | Type    | Required |
| ------- | -------------------- | ------- | -------- |
| channel | The channel to lock. | Channel | No       |

{% hint style="info" %}
When no channel is specified, the current channel will be locked.
{% endhint %}

## Examples

![](https://tawk.link/60e18ecd649e0a0a5cca7167/kb/attachments/sUxogSr83a.jpg) ![](https://tawk.link/60e18ecd649e0a0a5cca7167/kb/attachments/maGV8GRl-9.jpg)
