Ford focus 1.8 estate (2008) while running it has lost power with dash alarm saying Engine Mulfuction and then Brake lights out?

Hi. Ford focus 1.8 estate (2008) while running it has lost power with dash alarm saying Engine Mulfuction and then Brake lights out?

Is it normal that due to the Brake lights out it will prevent the engine from running for security reasons? After 30-25 minutes the car has started again

We had a car based on a Ford Focus that started showing random errors and disabling random functions. It turned out to be loose connector to the EMU, just above where the front passengers feet can easily knock it.