No! WD-40 is not recommended for locks, because there is a slight amount of water in the product, which can cause corrosion over time. Use a silicon-based product for your locks.