> ## Documentation Index
> Fetch the complete documentation index at: https://docs.glam.systems/llms.txt
> Use this file to discover all available pages before exploring further.

# Timelock

Commands for managing vault timelock settings. Timelocks add a delay before certain vault changes take effect, providing additional security.

For more information on timelocks, see [Timelock](/v1/operations/timelock).

## View Timelock

View the current timelock configuration and any pending changes.

```bash theme={null}
glam-cli timelock view
```

## Set Timelock Duration

Set the timelock duration in seconds. Changes to the vault will require this delay before taking effect.

* `duration`: Duration in seconds

```bash theme={null}
glam-cli timelock set <duration> [--yes]
```

**Example:** Set a 24-hour timelock:

```bash theme={null}
glam-cli timelock set 86400
```

## Apply Timelocked Changes

Apply pending timelocked changes after the timelock period has passed.

```bash theme={null}
glam-cli timelock apply [--yes]
```

## Cancel Pending Changes

Cancel any pending timelocked changes.

```bash theme={null}
glam-cli timelock cancel [--yes]
```
