Require a passkey to sign in to your Xbox One console
You can control who has access to your Xbox One by setting a personal passkey. The passkey allows you to protect your sign-in and prevent purchases you don't approve. This is especially important if you set up content limits for other members of your household. Remember that Xbox One does not automatically sign you out, so to get the most out of your personal passkey, remember to sign out when you're done playing.