Mechanisms or systems operated by propellant charge energy for automatically opening the lock