Yes, WD 40 works to prevent rust from spreading further. Also, a thin layer of protection is applied to your object. Furthermore, it penetrates deep into the small areas and prevents further oxidation.