Hello,
If you want to restrict users from accessing their mailbox then you can just dismount the store in which their mailboxes exists. To dismount a mailbox store, right click on Mailbox Store and click on Dismount Store. However, if you dismount a mailbox store then all the users/email clients whose mailboxes exists in the store will not be able to access their mailboxes. After the restore is over you can remount the store again.
Hope this answers your question.
Regards
NOTE : If we do not receive your reply within two business days, this post would be marked "assumed answered" and would be moved to "answered questions" pool.