---
title: "lockDFSID(requestFlags:completionHandler:)"
framework: corenfc
role: symbol
role_heading: Instance Method
path: "corenfc/nfciso15693tag/lockdfsid(requestflags:completionhandler:)"
---

# lockDFSID(requestFlags:completionHandler:)

Sends the Lock DSFID command (0x2A command code), as defined in the ISO 15693-3 specification, to the tag.

## Declaration

```swift
func lockDFSID(requestFlags flags: NFCISO15693RequestFlag, completionHandler: @escaping ((any Error)?) -> Void)
```

## See Also

### Sending Data Storage Format Identifier Commands

- [writeDSFID(requestFlags:dsfid:completionHandler:)](corenfc/nfciso15693tag/writedsfid(requestflags:dsfid:completionhandler:).md)
