There is a coil spring behind the piece that goes around the pedal rod. Looks like that spring is broken and not pushing the lock into place.

Looks like it is laying almost flat on the floor.