Can A Teacher Take Your Phone Overnight?

How long can a teacher take your phone?

.

Is it illegal for a teacher to take your phone?

Can a school confiscate your phone overnight?

Is it illegal for a teacher to keep your phone after the bell?