Implement a check into the respective scripts key mapping commands to prevent their usage.
You would have to do the same thing using the “normal” control natives.
Though I can kinda see this as a “nice to have” feature if you could disable it from outside through another script. Kinda like DisableControlAction I assume.