'in loco parentis' definitions:

Definition of 'in loco parentis'

(from WordNet)
adverb
In place of the parents; "we had to punish this child in loco parentis"