Piston ring compressor has a self locking ratchet pawl prevents premature release and allows positive locking action