Locks Rigger UI selection of all selected components. This will only lock out selection through the Rigger UI, scene selection will remain available.
Script Command:
import rigging.usertools; rigging.usertools.helix_rigger.HelixRigger().set_all_locked(None, None)