Safeties for locking the breech-block or bolt in a safety position