WD40 is a mediocre lube, you can put WD40 on a lug that is a good choice if you have to.
The great thing of its that anti rust which make the fasten and loosen after long easy for you.
When it comes to head bolts, the situation is different than with wheel studs.