prevent (someone or something) from (doing something)
To stop a person or thing from being able to do something. Something is preventing the machine from turning off, so the motor is getting overheated. The government is trying to prevent us from exercising our right to free speech.