Laptop Do nothing on close

I have a HP OMEN 15-ek0013dx, rtx 2060
I currently have it set so on lid close to do nothing, and so far noticed that it essentially puts the gpu to sleep on close, I’ve tried to use it for VR while closed and the context just freezes until reopened, but acts like it was still running, same effect watching the laptop though a program like anydesk.
Was wondering if anyone knew a solution to this cause every google search just comes up with people saying “put it on do nothing” then giving up