in loco parentis
verb
°Assuming the place or position of a parent.
"All persons in loco parentis have a responsibility to care for the child"