<!--
{
  "availability" : [
    "iOS: 10.3.0 -",
    "iPadOS: 10.3.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INGetCarLockStatusIntentResponse/locked-357ju",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "s:So32INGetCarLockStatusIntentResponseC7IntentsE6lockedSbSgvp"
  },
  "title" : "locked"
}
-->

# locked

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

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

## Discussion

Typically, you assign a value to this property only after handling the intent. If the car is locked, set the property to <doc://com.apple.documentation/documentation/Swift/true>; otherwise, set it to <doc://com.apple.documentation/documentation/Swift/false>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)