Locking device (6,5)
I believe the answer is:
safety catch
(Other definitions for safety catch that I've seen before include "Gun accident preventer" , "Lock on gun" , "Device preventing gun from firing" , "something RoSPA would approve of" , "It stops gun firing accidentally" .)