---
title: lockEventMask
framework: security
role: symbol
role_heading: Type Property
path: security/seckeychaineventmask/lockeventmask
---

# lockEventMask

If the bit specified by this mask is set, your callback function is invoked when a keychain is locked.

## Declaration

```swift
static var lockEventMask: SecKeychainEventMask { get }
```
