As a deterrent is a phrase that is commonly used to indicate that something is being done in order to prevent an undesired outcome. There are a number of synonyms for this phrase that can be used to convey similar meanings. Some examples of these synonyms include "in order to dissuade," "to discourage," "to inhibit," "to disincentivize," "to obstruct," and "to impede." Each of these phrases conveys the idea that a specific action is being taken in order to prevent something from happening that may be undesirable. Using synonyms for as a deterrent can help to add variety and nuance to your writing, while still communicating the same basic idea.