macOS Big Sur - How do I disable keyboard backlight permanently?
You need to uncheck the &quot;Adjust keyboard brightness in low light&quot; setting in the &quot;Keyboard&quot; pane of System Preferences. Then, adjust the backlight to zero by pressing F5 (or tapping the setting on the Touch Bar).

(image from https://support.apple.com/en-us/HT202310)