I drilled into my kids that in such a circumstances they were not to talk or answer questions and to only demand that their parents be called in.
Good advice. I had much the same from my parents, and I don't think I was alone.
When I was in high school, another kid got called down to the "discipline office" for questioning. An administrator told him to write down where and when he was for the past 2 weeks. He started "First period, math. Second period, history." etc. Admin then demanded to know where the kid was evenings and weekends. Kid told him "Away from school, and not at any school sponsored event, so it's none of your business."
That didn't go over well, and a plainclothes officer - who was sitting in - told him to answer. Wasn't very happy when the kid demanded to know who he was and to see his badge. Asked if he was free to go, cop said "no" and when asked why the questioning, the cop replied "WE are asking the questions." So the kid informed him that as a minor not free to leave, it was his right to have a parent and a lawyer present. Cop threatened him with obstruction of justice, whereupon the kid said "Bring it on, Barney." (Andy Griffith show was still on back then, along with Barney Fife.) The school administrator then butted in and said "I'm here in place of your parents, so I'm telling you to answer." Kid replied "You don't look anything like my mommy, and I'm not saying another word without a parent and a lawyer present."
And he clammed up entirely.
After some attempted browbeating - met with silence - they sent him back to class and told him not to say anything. So of course, as soon as he got back, he told the entire story. Teacher congratulated him for knowing his rights.
I saw the kid a few weeks later and asked him about it - he hadn't heard anything more. He guessed that some theft or vandalism had occurred and they were questioning some students, and he just happened to be one. He wasn't a known troublemaker, so I believed him when he said he had nothing to do with whatever was being investigated. AFAIK, he was never in any actual trouble as a student, either before or after this incident.