As I use my Razor laptop, the screen shuts off as if in sleep mode. I don’t know why this is happening and sometimes this happens when I am not using/touching the laptop.
>Solution :
I don’t remember it correctly, but I think I read it on reddit about similar issue. It may have to do something about the power/sleep button problem. You can go to the windows settings and disable the power button- as in, change its function to "do nothing", from the default sleep option. Hope this helps.
(as the other user mentioned, this site is mainly for programming related questions)