WD-40 is a penetrant, solvent and water displacer. It's great for cleaning and winter storage; it is NOT for lubricating anything. It attracts dirt and evaporates within a short time. I'm not entirely clear on your question, but if you plan to put your bikes up for the winter, that's a good application for WD.
You'll find a lot of different opinions on chain lube (and a lot of different lubes for different conditions). My personal preference for road cycling in dry conditions is Pedro's Go! - it's soybean-oil based and low toxicity, which is important when you think about how much chain lube winds up in the ground (or the storm drain) every time you wash your bike.They also make a wet-condition chain lube called Chainj.