Ally I had one of these with a similar problem a few years ago, IIRC they are made by Brandt. I replaced the module (not far short of £80 😯 )
which made no difference at all.
It turned out that a small restriction in the waste was causing a drain ‘time out’ error. 😳
The blockage was not obvious as the machine seemed to drain all of the water ok, fairly quickly.
May be worth a check 1st, or possibly the door lock, it looks on the diagram to have a double switch arrangement.
HTH
Dave.