This began about a year ago. I have SPIN5 SP513-52N-552K.
I've reset power plans to default as well as tried to customize them.
If I "short push" the power button (not a forced power down) before closing the lid or leaving the machine, all is well when I resume use by opening the lid and/or tapping on the touchpad. Things are as they were when I left it.
However, if I leave the machine with the lid open and allow it to to take action on its own I'll have to do a forced power down by holding the power switch and then start anew.
Not a huge deal except every now and again the machine gets fairly hot as though the CPU has been left running without much if any fan cooling when it took its automatic actions. THAT bothers me.
Again, I've tried multiple "base power plans" and have reset them to defaults as well as customized them. I'm currently using "balanced" set to default.
[//Edited the content to add model name]