I have a MacBook Pro 13" (2020 running mac os Catalina)and it's connected to an LG 4k display (in clamshell mode). When I stop using it, I put it to sleep by either using the launch bar or ⌘ Command⌥ Option⏏. It sleeps but when I leave it for a while, it shut down and I have to restart it by pressing the power button.
I leave the MacBook both charging and connected to the display, however when I want to use it again, I've noticed that it had shut down and I have to restart it by opening the lid and pressing the power button, how do I fix that?