Your windows laptops come with an automatic feature of setting the brightness. You can disable the setting if you don’t want the brightness to change automatically.