The flintlock mechanism was a firing mechanism used on muskets and rifles in the 17th, 18th, and 19th centuries. It is commonly referred to as a "flintlock" (without the word mechanism), though that term is also commonly used for the weapons themselves as a whole, and not just the lock mechanism.
The flintlock was developed in France in the early 17th century. It quickly replaced earlier technologies, such as the matchlock and wheellock. It continued to be in common use for over two centuries, until it was finally replaced by the percussion lock.
The flintlock was developed in France in the early 17th century. Though its exact origins are not known, credit for the development of the flintlock is usually given to Marin le Bourgeoys, an artist, gunsmith, luthier (maker of stringed musical instruments) and inventor from Normandy, France. Marin le Bourgeoys's basic design became the standard for flintlocks and quickly replaced older firing mechanisms throughout Europe. Flintlock weapons based on this design were used for over two centuries, until they were finally replaced by percussion locks in the 1840s and 1850s. The key element added apparently by Marin le Bourgeoys was the vertically acting sear. The sear is "catch" or "latch" which holds the mechanism in a position ready to fire; the trigger acts upon, or is part of, the sear, releasing it and allowing a strong spring to act on the mechanism to fire the gun. Previously the sear, located within the lock, had acted through a hole in the lockplate to engage the cock on the outside of the plate. The vertically acting sear acted on a piece called the tumbler, on the inside of the lock which was mounted on the same rotating shaft as the cock. This design proved to be the most efficient in terms of cost and reliability.
A typical flintlock mechanism has a piece of flint which is held in place in between a set of jaws on the end of a short hammer. This hammer (sometimes called the cock) is pulled back into the "cocked" position. When released by the trigger, the spring-loaded hammer moves forward, causing the flint to strike a piece of steel called the "frizzen". At the same time, the motion of the flint and hammer pushes the frizzen back, opening the cover to the pan, which contains the gunpowder. As the flint strikes the frizzen it creates a spark which falls into the pan and ignites the powder. Flame burns through a small hole into the barrel of the gun and ignites the main powder charge, causing the weapon to fire.
Most hammers follow Marin le Bourgeoys's design, and have a "half-cocked" position, which is the "safe" position since pulling the trigger from this position does not cause the gun to fire. From this position, the frizzen can be opened, and powder can be placed in the pan. Then the frizzen is closed, and the hammer is pulled back into the "full cocked" position, from which it is fired.
The phrase "don't go off half cocked" originated with these types of weapons, which were not supposed to fire from the half cocked position of the hammer.
A gunlock was a flintlock mechanism that fired a cannon. They were a significant innovation in naval gunnery and were first used by the Royal Navy in 1745. Their use spread slowly as they could not be retrofitted to older guns - the French had still not generally adopted them by the time of the Battle of Trafalgar (1805).
The earlier method of firing a cannon was to apply a linstock - a wooden staff holding a length of smoldering match at the end - to the touch-hole of the gun, that was filled with loose priming powder. This was dangerous and made accurate shooting from a moving ship impossible as the gun had to be fired from the side, to avoid its recoil, and there was a noticeable delay between the application of the linstock and the gun firing.
The gunlock was operated by pulling a cord, or lanyard. The gun-captain could stand behind the gun, safely beyond its range of recoil, and sight along the gun, firing when the roll of the ship lined the gun up with the enemy and so avoid the chance of the shot hitting the sea or flying high over the enemy's deck. Loading the gun was faster and safer as the gunlock didn't use loose priming powder; the main charge was ignited by a quill filled with priming powder that was pushed through the touch hole during loading and pierced the cartridge bag, containing the main charge of gunpowder.
After the introduction of gunlocks, linstocks were retained, but only as a backup means of firing.
A flintlock tinder lighter, or tinder pistol, was a device that saw use in wealthy households from the 18th Century until the invention of reliable matches. It somewhat resembled a small flintlock pistol, but without a barrel and with a candle holder and with legs so it could be stood upright. When the trigger was pulled, the sparks from the frizzen lit dry tinder in the pan, from which the candle would be quickly lit. The device provided a quick and reliable source of light, and flame for the lighting of fires.
Alarm clocks exist that, as well as sounding a bell, used a flintlock mechanism to light a candle. German and Austrian-made examples of these, dating from the 18th century, are preserved in the collections of the British Museum and the Hermitage Museum in Russia. An example dating from 1550 is in the Germanisches Nationalmuseum (German National Museum) in Nuremberg.