avoid triggering iPhone unavailable
I carry my iphone 12 Pro in my front pocket. When I'm exercising a lot it gets sweaty and I often find my phone locked with an "iPhone Unavailable" screen. It seems like the screen is too sensitive when damp. How can I avoid triggering this locking function or adjust it somehow so my phone remains available? I'm paranoid that sometime it will exceed the number of attempts and lock permanently.
iPhone 12 Pro, iOS 17