Not sure this helps, but recently, I've experience under specific situations that the screen stops responding on my Pixel 9a. To get it to work again, I hit the power button to turn off the screen then hit it again which prompts the login screen. Everything works after this. Not sure if that will help but give it a shot.