Temporarily raise an exception when a synset is locked for editing