afaik, the blockchain is being synced when the wallet is locked, but the blocks are not scanned for incoming transactions.
Only when unlocking the wallet, then those synced blocks are scanned and incoming tx's are read.
I might be wrong on this, so do correct me if I am.