But... root can load kernel modules, and kernel modules can write to arbitrary kernel memory, no?
Or do you mean that certain programs (like one mentioned by sibling) require the switch to be on?
Another way is simply for the manufacturer to lock down the bootloader/BIOS and not let you disable "secure" boot, as is also common in the Android world.