# LOCKUI System Variable
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md) → [L](Help%20System/GSTARCAD/2026/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 can 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
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables_Lgsv/LOCKUI.html) · © Gstarsoft Co., Ltd.