Customs can pick most of the locks. The locks that they cant pick they crack off. That is if they think there is something suspicous in your bag depending on xray and dog sniffing results.
I dont bother with a lock because if they want to open the bag they will just hack it off. I had a very secure lock once and it seemed to be crushed by some giant pliers. I figured they couldnt pick the lock?