Autofocus sometimes reacts slowly and trails (or doesn’t pick the lead subject) when there are multiple objects flying by quickly. You can see an example of trailing in this photograph in which the focus isn’t on the lead rider in the race but rather on those trying to catch him. If you want to use autofocus and focus on the lead rider, lead him. Point your camera in front of where he’s heading and let him ride into your frame of view.