Mechanisms or systems operated by propellant charge energy for automatically opening the lock recoil-operated having a barrel moving forwardly after the firing of a shot