The judge enjoined someone from approaching the witness.
The court enjoined action to stop the construction of the illegal building.
The teacher enjoined restraint upon the students during the exam.
The company was enjoined to ensure compliance with safety regulations.