Hi,
Here is an animation of the working of the cylinder in relation with the moving part like the one you can find in an Omega patented key.
(software used : Phun)
First cylinder has no key, it cannot turn
Second one has a key inside, it turns, and the pin goes in the key by pushing the spring.
http://www.youtube.com/watch?v=-pq5sHQ4H4o
Have Phun
FrenchKey