Complex sentence: After a short distance, the lock is released from the barrel and continues moving backwards under its own momentum ejecting the case and collecting a new cartridge to complete the cycle.
Split into simpler sentences: After a short distance, the lock is released from the barrel and continues moving backwards under its own momentum ejecting the case. The barrel keeps moving as well collecting a new cartridge to complete the cycle.