Warded lock