In loco parentis
the legal responsibility of a person or organization to take on some of the functions and responsibilities of a parent
the legal responsibility of a person or organization to take on some of the functions and responsibilities of a parent