You use the hyphens when the phrase is used to describe a noun. You are enrolled half time, but your enrollment status is that of half-time student. It modifies student, as your examples modify school and and person.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.