keep in

중급 (B1) neutral

To stop someone from going out, or to not lose touch with someone.

"The teacher kept three students in at lunchtime for not finishing their homework."