WD40 is a mediocre lube, so it's good if you have to. It's anti rust properties could be useful. The situation with head bolt holes is different than wheel studs. Antiseize is better than WD-40, but it's ok.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.