How to disable the touch as a method to turn on the screen

Is there a way to disable the touch as a way to turn on the screen? While I'm showering it's continuously turning itself on, showing me the lock as I locked the screen and then turning on again.