Hmm.. Are you pertaining to SIM card PIN or phone security? Either way, it is set by you. Were you using the phone for a long time?