<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMCharacteristicValueLockMechanismLastKnownAction",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:@E@HMCharacteristicValueLockMechanismLastKnownAction"
  },
  "title" : "HMCharacteristicValueLockMechanismLastKnownAction"
}
-->

# HMCharacteristicValueLockMechanismLastKnownAction

Possible values for the last known action of the locking mechanism.

```
enum HMCharacteristicValueLockMechanismLastKnownAction
```

## Topics

### Lock Mechanism Actions

[`HMCharacteristicValueLockMechanismLastKnownActionSecuredRemotely`](/documentation/HomeKit/HMCharacteristicValueLockMechanismLastKnownAction/securedRemotely)

The last known action was for the lock to be secured remotely.

[`HMCharacteristicValueLockMechanismLastKnownActionSecuredUsingPhysicalMovement`](/documentation/HomeKit/HMCharacteristicValueLockMechanismLastKnownAction/securedUsingPhysicalMovement)

The last known action was for the lock to be secured using physical movement.

[`HMCharacteristicValueLockMechanismLastKnownActionSecuredUsingPhysicalMovementExterior`](/documentation/HomeKit/HMCharacteristicValueLockMechanismLastKnownAction/securedUsingPhysicalMovementExterior)

The last known action was for the lock to be secured using physical movement on the exterior of the door.

[`HMCharacteristicValueLockMechanismLastKnownActionSecuredUsingPhysicalMovementInterior`](/documentation/HomeKit/HMCharacteristicValueLockMechanismLastKnownAction/securedUsingPhysicalMovementInterior)

The last known action was for the lock to be secured using physical movement on the interior of the door.

[`HMCharacteristicValueLockMechanismLastKnownActionSecuredWithAutomaticSecureTimeout`](/documentation/HomeKit/HMCharacteristicValueLockMechanismLastKnownAction/securedWithAutomaticSecureTimeout)

The last known action was for the lock to be secured automatically after a timeout period expired.

[`HMCharacteristicValueLockMechanismLastKnownActionSecuredWithKeypad`](/documentation/HomeKit/HMCharacteristicValueLockMechanismLastKnownAction/securedWithKeypad)

The last known action was for the lock to be secured using a keypad.

[`HMCharacteristicValueLockMechanismLastKnownActionUnsecuredRemotely`](/documentation/HomeKit/HMCharacteristicValueLockMechanismLastKnownAction/unsecuredRemotely)

The last known action was for the lock to be unsecured remotely.

[`HMCharacteristicValueLockMechanismLastKnownActionUnsecuredUsingPhysicalMovement`](/documentation/HomeKit/HMCharacteristicValueLockMechanismLastKnownAction/unsecuredUsingPhysicalMovement)

The last known action was for the lock to be unsecured using physical movement.

[`HMCharacteristicValueLockMechanismLastKnownActionUnsecuredUsingPhysicalMovementExterior`](/documentation/HomeKit/HMCharacteristicValueLockMechanismLastKnownAction/unsecuredUsingPhysicalMovementExterior)

The last known action was for the lock to be unsecured using physical movement on the exterior of the door.

[`HMCharacteristicValueLockMechanismLastKnownActionUnsecuredUsingPhysicalMovementInterior`](/documentation/HomeKit/HMCharacteristicValueLockMechanismLastKnownAction/unsecuredUsingPhysicalMovementInterior)

The last known action was for the lock to be unsecured using physical movement on the interior of the door.

[`HMCharacteristicValueLockMechanismLastKnownActionUnsecuredWithKeypad`](/documentation/HomeKit/HMCharacteristicValueLockMechanismLastKnownAction/unsecuredWithKeypad)

The last known action was for the lock to be unsecured using a keypad.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)