Petroleum jelly makes a protective cover from the air which promotes corrosion. So yes, petroleum jelly stops corrosion to an extent.