A Boolean value indicating whether the document is locked.
- iOS 11.0+
- macOS 10.4+
- Mac Catalyst 13.0+
YES if the document is locked;
Only encrypted documents can be locked. Encrypted documents whose password is the empty string are unlocked automatically upon opening, because PDF Kit tries the empty string as a password if none is supplied. Use the
unlock method to unlock a document using a password.