My Dad always said "locks are for honest people"... meaning that if a true thief wants it, he's going to get it -- but putting a lock on something will hopefully deter the average passerby who may be tempted but not really carry thievery equipment with them, e.g. a pair of boltcutters.