It locks by friction between the inside edge of the pedal lock against the lock bar. Do you have a spring around the lock bar between the pedal lock and the floor?