# $orderPage->lock()

> Returns lock for the model

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

```php
$orderPage->lock(): Kirby\Content\Lock
```

## Return type

`Kirby\Content\Lock`

## Parent class

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