In loco parentis has 2 different meanings across 1 category:
Adverb
in place of the parents
"we had to punish this child in loco parentis"
Assuming the place or position of a parent