I literally cannot count the number of times I put my Linux computer to sleep and it just doesn't wake up, and I have to hard reset the power to get it to do anything. I would never leave anything unsaved open for an extended period of time on a graphical Linux system.
Happens 90% of the time on my standard Elitebook laptop when I run windows. It just crashes and has the fan going crazy. On Linux it's been fine since day one, some 5 years ago.
But this is a bug, and it's very different from the OS voluntarily rebooting without your consent.