set the sleep from the settings to Never and set on display turn off after (whatever you want) like the picture below
but this way it will only turn off the display and when u press a key on the keyboard or use the mouse the monitor
will turn off
or try using the power butting when the laptop is...
I have x570 motherboard with ryzen 7 2700x and 16 GB hyperx memory
my PSU was giving out some strange noises so I sent it to a repair shop and when it came back
my pc wouldn't turn on I tested the PSU and it was working but I decided to buy a new one
and the same problem my computer didn't turn...
it turns out that somehow the cpu wasnt supporuing moded gpus or something like this but im not shure cuz when i changed my gpu with a new without moded vbios it worked