Lock the mini-object with the specified access mode in @flags.
#GstLockFlags
%TRUE if @object could be locked.
See Implementation
Lock the mini-object with the specified access mode in @flags.