I flew from Los Angeles to Jamaica with a bag that was locked, and they never asked me to unlock it. I carried my regulator, dive computer, camera, and camera housing in a carry-on. They did search that. My guess is the machine showed the carry-on had a whole bunch of things with metal parts...