Early type of lock in which a spring-driven steel wheel rotates rapidly against a piece of iron pyrite, producing sparks which fall into a pan of gunpowder, igniting it.