> For the complete documentation index, see [llms.txt](https://doc.open-tx.org/opentx-lua-reference-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.open-tx.org/opentx-lua-reference-guide/part_iii_-_opentx_lua_api_reference/lcd_functions/lock.md).

# lcd.lock()

@status depreciated since 2.1

## Parameters

none

## Return value

none

### Notice

This function has no effect in OpenTX 2.1 and will be removed in 2.2
