how to disable standby when i close the cover?

how to disable standby when i close the cover?

To change the behavior of Windows when you close the cover of your laptop you must go to start, configuration, system, start-off / suspend and, once there, choose the option on the right: c. Additional power configuration. On the next screen, select: choose the lid closing behavior.

I wanted to say, how to disable the screen turning off when I close the magnetic cover?

I think it is not possible because it is a magnetic switch that acts by magnets