Bazzite sleep waking up from button press

I was wondering if there was a way to stop bazzite from waking-up/resuming from its sleep/suspend state through a button press? Threw my ROG Ally X in my bag thinking it’d be fine but guess one of the back buttons must’ve gotten pressed and found the surprise of an extremely hot device. Any help would be appreciated.
Was this page helpful?