flintlock (n.)
1680s as a type of musket-firing mechanism, from flint + lock (n.1).