# LOCKUI System Variable [GstarCAD 2016](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [L](%28L%29.md) ## Function Description: The LOCKUI system variable is used to lock the location and size for tool bar and dockable windows(such as design center and property palettes). | | | | --- | --- | | Type | Bitcode | | Saved in | Registry | | Initial value | 0 | | Range | 0 \~ 15 | The locked toolbar and windows still could open or close, and add or delete items. Pressing Ctrl key to temporarily unlock. ## System Variable Value: **0:** do not lock toolbars and windows **1:** docked toolbar locked **2:** docked or anchored windows locked **4:** floating toolbars locked **8:** floating windows locked --- ## Other versions with matching text [GstarCAD 2017](../../../2017/System%20Variables/L/LOCKUI%20System%20Variable.md) · [GstarCAD 2018](../../../2018/System%20Variables/L/LOCKUI%20System%20Variable.md) · [GstarCAD 2019](../../../2019/System%20Variables/L/LOCKUI%20System%20Variable.md) · [GstarCAD 2020](../../../2020/System%20Variables/L/LOCKUI%20System%20Variable.md) · [GstarCAD 2021](../../../2021/System%20Variables/L/LOCKUI%20System%20Variable.md)