When you turn a lock, small machining defects mean that more load is borne by one pin than the others. Pushing up that pin while applying torque (using the allen wrench in the GIF) will cause that pin to be held up, which applies more load to some other pin.
It's suppose to show you which pin is the correct one. The lock picker obviously can't know that's why he tries all of them.