Does the error code come up stright away?
When you try and start the washer is the door clicking?
Also can you post the model number please.
Sorry for the delay.
The chances are this is going to be a faulty door lock. You cab replace the door lock and see how it goes from there.
To get at the door lock you need to open the door and take off the plastic clamp around the door seal.
Then unlip the front seal.
Then take off the 2 screws holding the lock on and then you can pull it through the door port hole.
Then swap over the wires and refit the new lock.
Then see how it goes from there. As say 8 times out of 10 this is a door lock fault. If its still the same then it will be the control board.
But most of the time its the door lock which is the problem.
If you need anymore info just get back to me.