A man was holding a lock in his hand that also sounded an alarm.