I'm not sure but I think they have the right to unlock your luggage in front of you: in most of cases they ask you to open the luggage.
Neverthless, if you (they) lost your luggage it will be ask you to sign a paper, allowing security and custom clearing to take a look...