The first thing to check is the Windows Advanced Power Options to ensure the adaptive brightness feature is off.
Right-click the Start button > Control Panel > Hardware and Sound > Power Options > Balanced (or whichever plan you are using) - Change plan settings > Change advanced power...