No note is placed in bags by Australian security inspection. Sounds like all you lost is the lock and not any of the valuable stuff
. I've seen locks come out on the baggage carousel (separated from their bags), lots of stuff gets caught in the conveyor belt system and detached.