# Editor.DockWidget.Locked

```csharp
bool Locked { get; set; }
```

Prevents the user from closing, moving, floating or pinning this dock.

Declared in [Editor.DockWidget](/api/Editor.DockWidget).
Assembly: `Sandbox.Tools`.
