Locks are an signal to thieves that you've got valuables in your bag worth stealing. First, don't pack anything worth stealing in checked luggage. Second, if you must, don't put a lock on it.
Any idiot can cut a lock in 2 seconds and it won't do you any good to know that it's been cut.