Security Code

What is the 4 digit security code for under settings? I have it set and turned on, but nothing different happened. I was hoping when I tried to open the app it would ask me for security code so other people who use my phone cannot access any info. (I really don't want to have to 'login' everyday) ...Any help is appreciated!!