Animate bokeh & focus
Keyframes can turn a static lens treatment into a gradual rack focus or a changing swirl. Which controls can be animated depends on their registered parameter behavior.
Animate the swirl
Add keyframes to Swirl Strength to move between a subtle and a pronounced effect. You can also animate Radius to change the apparent bokeh size. Review the result in motion: a setting that looks right in one still can feel too strong during a camera move.
Animate manual focus
Connect a depth source, leave Auto Focus off, then keyframe Focus Distance. A change between two depth values moves the clear plane through the map. Use Focus Range and Focus Falloff to shape the transition.
Follow a moving subject in After Effects
With a valid Depth Layer, enable Auto Focus, place Focus Point over the subject, and animate the point to follow it. You can keyframe it directly or use an expression connected to an After Effects tracker. Check coordinate spaces when linking a composition-space tracking result to an effect point on a transformed layer.
Increase Focus Smoothing (s) if the depth estimate flickers between frames. It smooths the focus distance, not the position of Focus Point.