A ward is a projecting ridge of metal in a lock casing or keyhole permitting only the insertion of a key with a corresponding notch. It could also include a corresponding notch in a tooth of a key.