The UnlockObject method of an object of ClassType clsMiningModel releases a lock on a mining model object previously established by the LockObject method.
object.UnlockObject
object
The mining model object to unlock.
If the UnlockObject method is called without first calling the LockObject method, an error is raised.