Returns the value that indicates is the component locked for the namespaces management.
variable = object.locked
||true if the script host is locked and false
||Previously created ScriptManager2 object
This property can be used also to indicate the state of the script - true (running or
connected), false (stopped or not loaded). When this property has a value of true Clear and Remove methods will fail -
that means the namespaces collection is locked.
C++ Helper SCPHOSTCLNT::IsLocked method