Elevator malfunctions, trapping students inside