Using New Outlook on Windows for personal email, calendar, and contact management
If you want your friend to be able to log into your PC with their account to avoid complications with your own user account, you should open the Settings App, go to Accounts - Other Users, then create a new user account for your friend, that will keep your account and your friend's account separate from each other.