(1) I keep my MBP closed. It take 10-30 seconds for it to wake up on keypress. That's so long that I often have no way to tell if it noticed I pressed key.
(2) If XCode is debugging and the screen sleeps then MacOS 12 never recovers unless I disconnect the cable, open the lid, get it wake up on the laptop monitor, and then plug it back in and finally close the lid.
I get why #2 is rare and therefore not fixed but still (T_T)