<!--
{
  "availability" : [
    "iOS: 10.3.0 -",
    "iPadOS: 10.3.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INSetCarLockStatusIntentHandling",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(pl)INSetCarLockStatusIntentHandling"
  },
  "title" : "INSetCarLockStatusIntentHandling"
}
-->

# INSetCarLockStatusIntentHandling

The handler interface for requesting to lock or unlock a car.

```
protocol INSetCarLockStatusIntentHandling : NSObjectProtocol
```

## Overview

Use the methods of the `INSetCarLockStatusIntentHandling` protocol to resolve, confirm, and handle requests to lock or unlock the user’s car. Adopt this protocol in an object of your Intents extension that is capable of locking or unlocking the car.

Siri delivers an [`INSetCarLockStatusIntent`](/documentation/Intents/INSetCarLockStatusIntent) object to your handler when the user asks to lock or unlock the car. The provided intent object can contain the car’s name (if specified), and the requested lock status (locked or unlocked).

## Topics

### Resolving the Intent Parameters

[`func resolveCarName(for: INSetCarLockStatusIntent, with: (INSpeakableStringResolutionResult) -> Void)`](/documentation/Intents/INSetCarLockStatusIntentHandling/resolveCarName(for:with:))

Resolves the name of the user’s car.

[`func resolveLocked(for: INSetCarLockStatusIntent, with: (INBooleanResolutionResult) -> Void)`](/documentation/Intents/INSetCarLockStatusIntentHandling/resolveLocked(for:with:))

Resolves the requested lock status (locked or unlocked).

### Confirming the Response

[`func confirm(intent: INSetCarLockStatusIntent, completion: (INSetCarLockStatusIntentResponse) -> Void)`](/documentation/Intents/INSetCarLockStatusIntentHandling/confirm(intent:completion:))

Confirms that your app can lock or unlock the car.

### Handling the Intent

[`func handle(intent: INSetCarLockStatusIntent, completion: (INSetCarLockStatusIntentResponse) -> Void)`](/documentation/Intents/INSetCarLockStatusIntentHandling/handle(intent:completion:))

Handles locking or unlocking the car.

## Relationships

### Inherited By

[`INCarCommandsDomainHandling`](/documentation/Intents/INCarCommandsDomainHandling)

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)