I was looking at dictionary meanings of the word 'ward'. What I expected (from encountering the word in RPG games) a meaning of 'magical shield or protective enchantment' or similar, but I didn't find any. Closest I found was 'part of the mechanism that prevents the wrong key from opening a lock'.
Is there a similar meaning of 'ward' in proper English?
Edit: I am referring to the lone word, as a noun.