Some Lords and Heroes are Wizards, and have access to one or more spell lores.
Although you will not choose the spells that your Wizards know until you start to play your game you do need to make a note in your army roster of which spell lore each of your Wizards will use. The spells themselves are chosen after you know which army you will be facing, but before rolling to choose sides to deploy on.