# 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 %}
