The LockObject method of an object of ClassType clsServer requests the OLAP server lock a specified object. The LockObject method locks an object to prevent actions of multiple users of the object from colliding.
objServer.LockObject(obj, LockType, sLockDescription)
For a complete discussion of object locking, see the LockObject method of the MDStore interface.