Locks have to be TSA approved, your advice won’t add any protection to luggage.
Edit: there must be a comprehension problem. Op suggested to use a lock, TSA locks are not helpful for luggage without a firearm. Traveling with a firearm and using a non-TSA approved lock is suggested and the right approach. Never did I say use a tsa lock with a firearm.