Function createFlowControlWithAnimationAndLockWithCameraRig