The part of a modern firearm that has the same function as the lock on a muzzleloader is the safety.
The part of a modern firearm that has the same function as the lock on a muzzleloader is the safety. The safety on a modern firearm is designed to prevent accidental firing by blocking the trigger mechanism from engaging. It is typically a switch or lever that can be engaged or disengaged to control whether the firearm can be fired or not. When the safety on a firearm is engaged, it prevents the trigger from being pulled, just like the lock on a muzzleloader prevents the trigger mechanism from being activated.