deter
This word describes a psychological barrier created by the anticipation of negative outcomes. It focuses on the mental process of deciding against an action because the perceived risk or effort outweighs the potential reward. It is frequently used in legal, security, and social contexts to describe preventative measures. In a practical sense, it differs from "prevent" in that prevention can be a physical blockage, whereas deterrence is a strategic or psychological discouragement. For example, a locked door prevents entry, but a warning sign deters it.
Meanings
To discourage someone from doing something by making them realize the difficulties or unpleasant consequences of the action.
"The high cost of the tickets may deter many people from attending the concert."