I knew this years ago but have to relearn it each time. The trick is to remove the shaft, which is held in place by a spring-loaded plate underneath the top plate in the assembly in the knob, then punch or pry out the lockset which is held in the knob with spring clips.
This video shows it all perfectly: https://www.youtube.com/watch?v=BFgdx5SDdC8