Having different accounts on a shared PC lets multiple people use the same device, all while giving everyone their own sign-in info, plus access to their own files, browser favorites, and desktop settings.
If you have an account on your PC that you want to make unavailable without deleting it, you can disable the account and enable the account again later when wanted.
When an account is disabled, it can no longer be signed in to until enabled again. The account’s name will no longer appear on the sign-in screen or user menu on the Start menu until enabled again.
This tutorial will show you how to enable or disable an account in Windows 11.