If I understand your question correctly and you're trying to prevent users from executing certain queries then using synonyms is a reasonable way to do it.
Curator could also be a good approach too, because you could not only remove the query term but present a message indicating that the word was removed.