deterrent
US /dɪˈter.ənt/
UK /dɪˈter.ənt/

1.
a thing that discourages or is intended to discourage someone from doing something
:
•
The high cost of tuition acts as a deterrent for many students.
•
Security cameras are a strong deterrent to crime.
1.
able to discourage or deter someone from doing something
:
•
The harsh penalties are meant to be deterrent to repeat offenders.
•
The presence of police cars can be a deterrent factor.