It stops processing the mailbox, in other words no items from user-accessible folders will be automatically deleted or moved to the Online archive. The Recoverable items subtree is unaffected by this, and thus deleted items will follow the "regular" lifecycle workflow.
For additional details consult the official documentation here: https://learn.microsoft.com/en-us/exchange/security-and-compliance/messaging-records-management/mailbox-retention-hold