Framework 13 - intermittent issue where laptop doesn't wake up from sleep

I have a Framework 13 that has an intermittent issue (happens maybe twice a week) where it won’t wake up from sleep. When I try, the screen just stays blank and nothing happens no matter what buttons I push (Ctrl+alt+del does nothing) and the only fix is to forcibly shut it off by holding the power button. How do I prevent this from happening? Without a fix I’ll just have to disable sleep mode entirely which is a huge inconvenience. I don’t know how to debug this.

I have Windows 11 installed and the AMD Ryzen 7040 chipset.

The only workaround I’ve found is to change Windows Power & battery settings. I change the specific option, “On battery, Closing the lid will make my PC”, to “Hibernate”. I run a dock to my Framework, so I keep the “Plugged in” option when the lid closes to “Do Nothing”. I have to hit the power button to get it back up when not plugged in but it’s better than the alternative.