Educators must obey the law, meaning schools cannot impede a criminal investigation. But students and teachers have rights, too.