Home Reference Houdini Object Model hou hou.Parm 

hou.Parm.lock method

If 'on' is True, then this method locks the parameter making its value non-editable. Otherwise, this method unlocks the parameter.

lock(self, on)

If 'on' is True, then this method locks the parameter making its value non-editable. Otherwise, this method unlocks the parameter.

This function throws a hou.ObjectWasDeleted exception if called on a node that no longer exists in Houdini, or a hou.Permission exception if called on a parameter that is part of a locked digital asset.

Replaces: chlock