---
title: locked
framework: intents
role: symbol
role_heading: Instance Property
path: intents/ingetcarlockstatusintentresponse/locked-357ju
---

# locked

A Boolean value indicating the status of the car’s locks.

## Declaration

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

## Discussion

Discussion Typically, you assign a value to this property only after handling the intent. If the car is locked, set the property to true; otherwise, set it to false.
