---
title: locked
framework: intents
role: symbol
role_heading: Instance Property
path: intents/insetcarlockstatusintent/locked-9h0kx
---

# locked

A Boolean value that indicates whether to lock the car.

## Declaration

```swift
@nonobjc final var locked: Bool? { get }
```

## Discussion

Discussion When this property is true, lock the car; otherwise unlock the car.
