# LOCKUI System Variable [GstarCAD 2017](Help%20System/GSTARCAD/2017/Index.md) → [System Variables](Help%20System/GSTARCAD/2017/System%20Variables/(System%20Variables).md) → [L](Help%20System/GSTARCAD/2017/System%20Variables/L/(L).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 2016](../../../2016/System%20Variables/L/LOCKUI%20System%20Variable.md) · [GstarCAD 2018](Help%20System/GSTARCAD/2018/System%20Variables/L/LOCKUI%20System%20Variable.md) · [GstarCAD 2019](Help%20System/GSTARCAD/2019/System%20Variables/L/LOCKUI%20System%20Variable.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/System%20Variables/L/LOCKUI%20System%20Variable.md) · [GstarCAD 2021](Help%20System/GSTARCAD/2021/System%20Variables/L/LOCKUI%20System%20Variable.md)