The raspberry pi’s settings are automatically set to auto login when you first turn it on, and get it running. If you want to change this, so that you have to type your password every time, here’s how. Open the applications menu and to preferences, then raspberry pi configuration. Once it opens up it will look like this.

As you can see their are a bunch of different settings available. We will go more onto all of these later. What you are looking for is the fourth option called Auto Login. As you can see it is already on. To change this, hit the little switch to off.

Press okay on the bottom right corner of the window and voila! You now have to type your password every time that you turn on your raspberry pi. If you click the logout button on the applications menu, and then click logout on the power off window, you will see that it now asks you for your password and username. You can change your password inside of the same menu, by clicking the change password button and then putting in your new password. If you want to change this back, just go back into the configuration menu and turn it back on again. I hope this helps you out! Good luck with your Pi!