The video below is of a brand new shotgun and what they found when they loaded the gun and chambered a round with the safety on.
Safeties are mechanical devices and they can fail. Always follow the rules for safe gun handling.
1. ALWAYS keep the gun pointed in a safe direction.
2. ALWAYS keep your finger off the trigger until ready to shoot.
3. ALWAYS keep the gun unloaded until ready to use.