---
title: HMCharacteristicTypeTargetLockMechanismState
framework: homekit
role: symbol
role_heading: Global Variable
path: homekit/hmcharacteristictypetargetlockmechanismstate
---

# HMCharacteristicTypeTargetLockMechanismState

The target state for the locking mechanism.

## Declaration

```swift
let HMCharacteristicTypeTargetLockMechanismState: String
```

## Discussion

Discussion The corresponding value is one of the constants in the HMCharacteristicValueLockMechanismState enumeration.

## Topics

### Values

- [HMCharacteristicValueLockMechanismState](homekit/hmcharacteristicvaluelockmechanismstate.md)
- [HMCharacteristicValueTargetLockMechanismState](homekit/hmcharacteristicvaluetargetlockmechanismstate.md)

## See Also

### Locks and openers

- [HMCharacteristicTypeLockManagementAutoSecureTimeout](homekit/hmcharacteristictypelockmanagementautosecuretimeout.md)
- [HMCharacteristicTypeLockManagementControlPoint](homekit/hmcharacteristictypelockmanagementcontrolpoint.md)
- [HMCharacteristicTypeLockMechanismLastKnownAction](homekit/hmcharacteristictypelockmechanismlastknownaction.md)
- [HMCharacteristicTypeLockPhysicalControls](homekit/hmcharacteristictypelockphysicalcontrols.md)
- [HMCharacteristicTypeMotionDetected](homekit/hmcharacteristictypemotiondetected.md)
- [HMCharacteristicTypeCurrentLockMechanismState](homekit/hmcharacteristictypecurrentlockmechanismstate.md)
- [HMCharacteristicTypeRemoteKey](homekit/hmcharacteristictyperemotekey.md)
