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

# locked

A Boolean value that indicates whether to lock the car.

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

## Discussion

When this property is <doc://com.apple.documentation/documentation/Foundation/NSExpression/true>, lock the car; otherwise unlock the car.

---

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)