A Snaphaunce lock or snaplock is like the father to the flintlock. Where the flintlock has a cock and pan-cover (this is known my MANY names, and I'm always told-off by someone for using the wrong term. So I'll call it a pan cover)
In a flintlock the cock, holding the flint, strikes the face of the pan-cover and pushes it forward, opening the pan and exposing the priming powder. The sparks created by the flint striking the pan-cover fall into the pan and ignite the priming.
The SH lock is exactly the same, except the pan-cover and striking face are two separate parts. Some SH mechanisms opened the pan automatically, some didn't.
If you have a manual SH lock, assuming you're loading and primed, you would pull the striking-face* down onto the pan, so the face is vertical to the pan. You would cock your cock. You would then open your pan manually - aim and fire. The cock flies forward, the flint hits the striking face and knocks this forward out of the way. The sparks produced from this strike, fall into the pan and ignite the powder. As I say, some SHs locks open the pan-cover automatically. The flintlock just combined the pan-cover and striking face into one part.
The actual shape of the cock is varied too. I've seen some backwards ones, some forwards ones etc.
Regards
T
*frizzen, or steel, or hammer, whatever term is used