As for a lock on a bag, if the TSA wants to search it and the screening for checked baggage is done out of your sight (which is the majority of airports), then the TSA will just cut the lock off unless you have a "TSA Approved Lock" (and even then, they have been known to cut those as well).