to forbid, ban, or prohibit (by law, rule, or order).
校内では喫煙を禁じる規則がある。
There is a rule forbidding smoking on school grounds.
この薬の使用は法律で禁じられている。
The use of this drug is prohibited by law.
会社は従業員による副業を禁じた。
The company forbade employees from doing side jobs.
to suppress or hold back feelings or reactions (often appears in the phrase 禁じ得ない meaning 'cannot help but...').
その冗談に彼は笑いを禁じ得なかった。
He couldn't help laughing at that joke.
悲しみを禁じようとしても、どうしても涙が出た。
Even trying to suppress his sadness, he couldn't stop the tears.
会場でのざわめきを禁じるのは難しかった。
It was difficult to suppress the murmuring in the venue.