There are a couple ways to stop your phone from running amok in your pocket when you aren't looking.
Android 16 is causing a very annoying bug where Pixel phones take too long to wake up. Google is aware of the issue and is working on a fix, and temporary workarounds are also available. This is one ...