<!--
{
  "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/HMCharacteristicTypeLockManagementAutoSecureTimeout",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:@HMCharacteristicTypeLockManagementAutoSecureTimeout"
  },
  "title" : "HMCharacteristicTypeLockManagementAutoSecureTimeout"
}
-->

# HMCharacteristicTypeLockManagementAutoSecureTimeout

The automatic timeout for a lockable accessory that supports automatic lockout.

```
let HMCharacteristicTypeLockManagementAutoSecureTimeout: String
```

## Discussion

The corresponding value is the number of seconds the accessory waits after entering the [`HMCharacteristicValueLockMechanismState.unsecured`](/documentation/HomeKit/HMCharacteristicValueLockMechanismState/unsecured) state until it attempts to enter the [`HMCharacteristicValueLockMechanismState.secured`](/documentation/HomeKit/HMCharacteristicValueLockMechanismState/secured) state. Write a value of `0` to disable this feature.

---

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)