The word "deterrent" means something that prevents or discourages someone from doing something by creating fear or hesitation. It acts as a warning or obstacle to stop or discourage certain actions. Full definition
We need a concerted effort to track down these crimes and make sure the companies who are owing, pay with hefty penalties to serve as deterrent to others. (ghanapoliticsonline.com)
They are generally an effective deterrent for trouble and help customers and employees feel at ease. (littletechgirl.com)
First, to possess as limited and low - cost a nuclear deterrent as possible, for the exceptionally unlikely scenarios when it could be needed in the medium - term. (blog.politics.ox.ac.uk)