# WorkspaceLockConfig

**Kind**: interface | **Module**: [Workspaces](https://docs.interop.io/desktop/reference/javascript/workspaces/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/workspaces/workspacelockconfig/index.html

A config object which provides fine grain control when locking a workspace

## Properties

- **`allowDrop`** (`boolean`, optional)
  (Enterprise only) Controls the ability of the users to drop outside windows in the workspace
- **`allowDropBottom`** (`boolean`, optional)
  Controls the users ability to drop windows in bottom-most zone of the workspace
- **`allowDropLeft`** (`boolean`, optional)
  Controls the users ability to drop windows in left-most zone of the workspace
- **`allowDropRight`** (`boolean`, optional)
  Controls the users ability to drop windows in right-most zone of the workspace
- **`allowDropTop`** (`boolean`, optional)
  Controls the users ability to drop windows in top-most zone of the workspace
- **`allowExtract`** (`boolean`, optional)
  Controls the ability of the users to extract (or rearrange) windows inside the workspace
- **`allowSplitters`** (`boolean`, optional)
  Prevents the splitters for being draggable, so the windows cannot be resized
- **`allowSystemHibernation`** (`boolean`, optional)
  If `true`, will allow the Workspace to be hibernated via the platform configuration.
  This setting doesn't apply to programmatic hibernation via the `hibernate()` method of a `Workspace` instance.
- **`allowWindowReorder`** (`boolean`, optional)
  Control the users ability to reorder windows in the workspace
- **`allowWorkspaceTabExtract`** (`boolean`, optional)
  Controls the whether the workspace tab can be extracted.
  *Available only in **io.Connect Desktop**.*
- **`allowWorkspaceTabReorder`** (`boolean`, optional)
  Controls the whether the workspace tab can be reordered
- **`showAddWindowButtons`** (`boolean`, optional)
  Controls the visibility of all the add window buttons (the ones with the plus icon) located in the group headers
- **`showCloseButton`** (`boolean`, optional)
  Controls the visibility of the close button located in the workspaces tab
- **`showEjectButtons`** (`boolean`, optional)
  Controls the visibility of all eject buttons located in the groups' headers
- **`showSaveButton`** (`boolean`, optional)
  Controls the visibility of the save workspace button located in the workspace tab
- **`showWindowCloseButtons`** (`boolean`, optional)
  Controls the visibility of all close button located in the windows' tab elements
