A wet touchscreen presses buttons by itself, which is why the watch has a mode that ignores touch on purpose. I own an Apple Watch Ultra, and this is one of the settings I would want to know by heart.
Apple’s steps: press the side button to open Control Center and tap the Water Lock button. A Water Lock icon shows at the top of the watch face. It also turns on by itself when you start a water-based workout such as swimming or surfing, or begin a scuba dive on an Apple Watch Ultra.
To turn it off, press and hold the Digital Crown until the display says Unlocked. A series of tones plays, which pushes water out of the speaker. On watchOS 8 or earlier you rotate the crown instead of pressing it.
While Water Lock is on, the display ignores touch, and the tap and wrist flick gestures are unavailable.
The caveat is that unlocking is not silent. Turning Water Lock off plays those tones every time, so do not do it in a quiet meeting. Apple’s page does not list which models support all of this beyond the Ultra’s scuba feature, so I will not claim more than that.
Further reading: Apple Support: How to use Water Lock and eject water from your Apple Watch