Answer:
Screensaver is one kind of security measure,
For example, if you have to go to bathroom, but you also don't want to shut down your computer, you can just set the screensaver, so that when you leave and didn't move the mouse of touch keys it will show the screen that you need password to get in. So that if you got something important in your computer, you won't loose it because you went bathroom.