Boxlock action
The boxlock action is a firing mechanism with the lockwork mounted internally, as opposed to being mounted on the side of the weapon. Boxlock actions were common in the 18th and 19th centuries. The action gets its name from the lockwork typically being installed in a box of sort, usually inline behind the barrel.
Most boxlock weapons were flintlock, although though some percussion cap and pinfire boxlocks also existed.
The popularity of boxlock actions declined rapidly after the emergence of percussion cap and pinfire revolvers in the mid-19th century.
Advantages and disadvantages
Boxlock actions have the advantage that they are more compact than side mounted lock mechanisms, which made them a popular choice for pocket pistols. The compact design also made them well suited for pistols with multiple barrels and pepperbox pistols.The lockwork is also enclosed within the box, which protects the lockwork from dirt and damage.
The disadvantage of a boxlock is that it is more complex and more expensive to produce. Also, the position of the hammer and the ignition mechanism on top of the pistol does not allow sights on top of the action.