To prohibit something means to not allow it.
She prohibited the students from speaking until their work was done.
Example picture