---
title: "unlockWithTimeout(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterdoorlock/unlockwithtimeout(with:completion:)"
---

# unlockWithTimeout(with:completion:)

## Declaration

```swift
func unlockWithTimeout(with params: MTRDoorLockClusterUnlockWithTimeoutParams, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func unlockWithTimeout(with params: MTRDoorLockClusterUnlockWithTimeoutParams) async throws
```
