Increasing potential punishment if caught - or making it more likely that you will get caught - dissuades thefts.