enrolling in a temple school; child enrolled in a temple school
incarcerating a criminal in a temple as a form of punishment (popular during the latter Muromachi and Azuchi-Momoyama periods)
going to a temple to repent
temple elementary school (Edo period)