Cell phone texting laws and locked phones...

So texting is illegal in illinois. Hypothetical: I’m pulled over for suspicion of texting. I lock my phone. Can officers request to see your phone? If they try and it’s pass-locked, do they need a warrant to unlock it?

They get a warrant for your cell phone records.

(nitpick) please tell me you mean texting while driving is illegal. Otherwise there are a lot of 14 year old felons out there ;)(/nitpick)