The caplock mechanism or percussion lock was the successor of the flintlock mechanism in firearm technology, and used a percussion cap struck by the hammer to set off the main charge, rather than using a piece of flint to strike a steel frizzen. (source)