Go >setting> display>adative brightness off
Ok
Will be Stopped your automatic light sensor
What do you mean by stopping it? It only works on some features like auto brightness. If you don't want your brightness automatically adjusting, go to Settings > Display > disable automatic brightness.