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