Integrated with wallet locking.
Secure messages received while wallet is locked are scanned when wallet is unlocked.