> For the complete documentation index, see [llms.txt](https://docs.routeeffect.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.routeeffect.com/osc/lock.md).

# Lock

Instruct RouteEffect to lock an output in the selected video router.

| Message                | Description                         | Arguments    |
| ---------------------- | ----------------------------------- | ------------ |
| `/routeeffect/lock/ID` | Lock an output in the video router. | Output index |

Where `ID` is the unique identifier for your video router in RouteEffect.

| Argument     | Type    | Description                       |
| ------------ | ------- | --------------------------------- |
| Output index | Integer | Zero-based index of output source |

{% hint style="danger" %}
Remember that OSC messages use a zero-based index for determining the output and input ids.
{% endhint %}
