Lock the mini-object with the specified access mode in flags.
flags
the mini-object to lock
LockFlags
true if this could be locked.
true