In loco parentis

A Latin term meaning "in [the] place of a parent" or "instead of a parent". Refers to the legal responsibility of some person or organization to perform some of the functions or responsibilities of a parent.