How did my Principal somehow unlock my locked phone?

Ok so I lost my phone while at school, and someone ended up finding it and returning it to the school office. I ended up getting called down to the office on the mic, and my vice principal asked me if this was my phone. She found this out by going on my contacts and finding out my name. She also texted some of my contacts/friends to find out how whose phone this was. What I don't understand is how did she gain access to my phone with a passcode on it? My passcode is not something easy like 1234, or 0000. It was actually just 4 random numbers. It makes no sense to me. Do schools have some kind of software hack to unlock iphones? Can someone please explain.

She's Anthony Weiner!

You didn't lock your phone. No schools don't have any kind of special access.

  • Someone sent me an email from iphone, can i get their number from it somehow? A client of mine sent me an email from their iphone but i can't find their number to call them back. Is there a way i can get it from the email they sent?
  • Somehow I lost a whole sms conversation? (iPhone)? I was going to text someone and when I looked at our iPhone conversation it was completely erased?! I seriously don't think I deleted it. Has this ever happened to someone? Can I fix it/bring back the messages:/
  • Really old bookmarks somehow on my iPhone 4? Alright so the other night I found on my iPhone safari a whole bunch of these bookmarked sites that were all from my girlfriends old laptop, but she got rid of her laptop like over two years ago and I got my phone a year ago. She's promised none of the sites there she looked up or bookmarked, so does anyone know how they possibly could be on my phone! Some sort of auto sync some how? I have absolutely no clue how they got there, answers please?
  • My iPhone has somehow locked so the screen will not rotate? Phone screen stays oriented up and down, when rotated 90 degrees it does not orient side to side. There's also a little symbol up top with a lock with a circular arrow around it. I think it is locked and I can't figure out how to unlock it. Can anyone help?