Mine was the opposite issue, not waking from sleep. I've installed Metamphetamine and that seems to have stopped it from going to sleep, or locking up while being idle - even with locking the screen.
Oh, my bad, I might have structured my sentences in some way that causes confusion.
I have the exact issue as you, not waking from sleep. I tried to counter the issue by making the computer not sleep.
Between yesterday and today, I have realised something new regarding the issue.
To prevent computer from going to sleep, I tried to adjust settings to keep display and disks from sleeping. This seemed to not work at all. At the time, computer was connected to power. (And to be sure, I had set relevant settings in both Battery and Power Adapter under Energy Saver settings.
In the evening, I was without adapter, with the same settings. Hours later, I came back to the computer with the screensaver running and display awake, as I had intended to in Settings. So these settings were respected on battery. Wake from sleep on battery and without needs testing, which I will today.
Prima Facie Deductions
1. "prevent display from sleeping" setting has no effect when connected to power and computer still goes to sleep in its own time.
2. "prevent display from sleeping" setting works as expected when on battery. Display never sleeps if it is set to not sleep.
3. I will see now how "wake from sleep" behaves when on battery.
Obviously, will report this to Apple. Requesting anyone else reading this to report your own observations to Apple to help resolve this annoying/ potentially crippling issue.
Thanks!
EDIT
Sleep (and wake from sleep) is working just fine if the computer is not on power adapter. It is on power adapter that all issues are arising for me, on my MacBook Air 2017. Submitting this new info to Apple.
Last edited: