Should I use WD-40 to lubricate my locks?

No, this isn't a great idea. WD-40 isn't recommended for locks because there's a slight amount of water in the product, which can cause corrosion over time. Use a silicon-based product instead for your locks.