The metal lock will show up and will also set off the standard detectors. Secruity will not be satisfied until they know what is setting off their detectors, and they may want to check that the lock is not a decoy to mask something else hidden inside, so be prepared to be very embarassed and allow a lot of extra time to get through security.