What tool does law enforcement use to unlock iPhones?

I heard that in iOS8, the data is encrypted so that law enforcement can't unlock iPhones, but my friend in high school got his phone taken away, and the school was able to unlock his phone even though he was on iOS 8. Also what tool do they use to do this, and how come it is still possible for law enforcement to unlock iPhone?

Because the security and encryption on iOS 8 is a joke. And law enforcement is smarter than you think

  • Why isn't Tool- sober on iTunes? I can't even find their Undertow album in stores… I have an iPhone and i don't know of any free music sites or apps either. Any suggestions?
  • What will moores law look like in another 40 years? Yes, I have heard that it is going to break down in another 10 years but if it dosen't, where do you see More's law in another 40 or 50 years into the future? It seems like we have come a long way from the Apple II to the iPhone 5. Also if More's law does break down in another 10 years, what might technology look like then? And for people who don't know: Moores law refers to the doubling of Transistors every two years.
  • What development tool can I use to program in iPad for iPad and iPhone? I want program or code using my iPad for iPad. What development tool can I use? I need a tool for iPad so I can code in iPad. It seems the tools suggested require MAC. I want to code using my iPad and not in PC or MAC
  • Is talking on your cell phone (not texting) while driving against the law? I have a head set with a speaker that covers only one ear. I can hear everything else with my other ear while using my cell phone (not Iphone). Is this legal?