Yes, airport security agencies such as the TSA in the United States or similar authorities internationally have the legal right to open and physically inspect any piece of checked luggage if they deem it necessary for safety. This usually occurs if an item inside the bag appears suspicious or unidentifiable during the initial X-ray screening process. If your bag is locked with a non-approved lock, security personnel are authorized to break the lock to gain access, and they are generally not liable for the damage caused. To avoid this, travelers are encouraged to use TSA-approved locks, which can be opened by security officers using a master key. When a physical inspection takes place, the agent is supposed to place a formal "Notice of Baggage Inspection" inside the suitcase to inform the owner that the bag was opened and searched. In some cases, high-tech explosive trace detection swabs are used on the exterior or interior contents. While it may feel like an invasion of privacy, these protocols are strictly enforced to prevent the transport of prohibited items, hazardous materials, or explosives on commercial aircraft, ensuring the safety of all passengers and crew.