The lock is there to keep the honest people out AND leave a trace that someone came in forcibly when they want to do so.
Which is why stuff like bump keying those stupid flat-keyed American locks is so scary because it requires almost zero skill and leaves very little traces.
Unless an expert takes apart the lock investigating for traces, there's no way to tell it was opened without a key.
The lock is there to keep the honest people out AND leave a trace that someone came in forcibly when they want to do so.
Which is why stuff like bump keying those stupid flat-keyed American locks is so scary because it requires almost zero skill and leaves very little traces.
Unless an expert takes apart the lock investigating for traces, there's no way to tell it was opened without a key.