Final answer:
The legal concept in loco parentis states that the school has a legal duty to provide a safe learning environment, ensure the well-being of students, and act in place of a parent.
Step-by-step explanation:
The legal concept in loco parentis refers to the school's legal duty to act in place of a parent. This means that the school is responsible for providing a safe learning environment and ensuring the well-being of students. Therefore, the correct answer is 4) All of the above.