<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.6.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "IOSurface",
  "identifier" : "/documentation/IOSurface/IOSurfaceLockOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "IOSurface"
    ],
    "preciseIdentifier" : "c:@E@IOSurfaceLockOptions"
  },
  "title" : "IOSurfaceLockOptions"
}
-->

# IOSurfaceLockOptions

```
struct IOSurfaceLockOptions
```

## Topics

### Initializers

[`init(rawValue:)`](/documentation/IOSurface/IOSurfaceLockOptions/init(rawValue:))

### Options

[`avoidSync`](/documentation/IOSurface/IOSurfaceLockOptions/avoidSync)

[`readOnly`](/documentation/IOSurface/IOSurfaceLockOptions/readOnly)



---

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)