<!--
{
  "availability" : [
    "watchOS: 4.0.0 - 6.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKExtension/enableWaterLock()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKExtension(im)enableWaterLock"
  },
  "title" : "enableWaterLock()"
}
-->

# enableWaterLock()

Disables the Apple Watch touch screen to prevent accidental taps while the watch is underwater.

```
func enableWaterLock()
```

## Discussion

The following rules apply when using Water Lock:

- You must call the [`enableWaterLock()`](/documentation/WatchKit/WKInterfaceDevice/enableWaterLock()) method from the main thread.
- You can only enable Water Lock when the app is running in the foreground during an active workout or location session.
- The app must be running on a supported device (the [`WKInterfaceDevice`](/documentation/WatchKit/WKInterfaceDevice) object’s [`waterResistanceRating`](/documentation/WatchKit/WKInterfaceDevice/waterResistanceRating) property must be set to [`WKWaterResistanceRating.wr50`](/documentation/WatchKit/WKWaterResistanceRating/wr50)).
- Water Lock remains active until the user unlocks it. You can’t programmatically unlock the watch.

---

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)