# Input lock commands (/docs/v0.1/cli/input-lock)



Lock mode sends normal keys straight to the focused pane instead of resolving
koshi shortcuts.

```bash
koshi lock
koshi unlock
koshi toggle-lock
```

Choose an attached terminal explicitly:

```bash
koshi lock --client <CLIENT_ID>
koshi unlock --client <CLIENT_ID>
koshi toggle-lock --client <CLIENT_ID>
```

Lock state belongs to the client, not the session. Other attached clients keep
their own mode.

The keyboard equivalent is <kbd>\<C-l></kbd>. koshi reserves a working
unlock path when validating keybindings, so a bad locked-mode map is rejected
instead of trapping input.
