On my Keychron K3 there is a key combination that deactivates the light-pattern-changing key. Now, if I accidentally hit it, it just flashes a couple of times and goes back to the setting I had it on. Check your manual.
Edit: It's not in the K2 manual but there is a shortcut, FN + L + lightbulb key that works to lock it -
https://www.keychron.com/pages/k2-user-manual
https://keychronsupport.zendesk.com/hc/en-us/articles/360052...
Now, it's my ideal keyboard