# `GSBaseObject.locked`

*Instance Property*

Whether editing operations should leave the object unchanged.

## Declaration

```swift
var isLocked: Bool { get set }
```

```objc
@property (nonatomic, getter=isLocked) BOOL locked;
```

```python
isLocked() -> bool
setLocked_(locked: bool)
```

## Discussion

This is an editability flag, not a synchronization mechanism. The object does not enforce this state itself; editing APIs that support locked objects consult the flag before modifying them.

