Can a Teacher Search a Student’s Desk?
Yes.
That includes work lockers, gym lockers (even at your private club), dorm rooms, etc.
Places and spaces belonging to others and provided for your use have no constitutional protections for you.
Consider them as places that the police can search without your permission and without your knowledge at any time.