# $ordersPage->isLocked()

> Checks if the model is locked for the current user

- Source: `src/Cms/ModelWithContent.php#L449` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Cms/ModelWithContent.php#L449>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$ordersPage->isLocked(): bool
```

## Return type

`bool`

## Parent class

`Wagnerwagner\Merx\OrdersPage` inherited from `Kirby\Cms\ModelWithContent`
