door lock doesnt work

door lock does not engage or light up when door is closed .i replaced the door lock mechanism and still no change .i do not have a manual for this washer and can not find one online.the leds light up for all the other fucntions and flash a few times (i don’t know if the flashes are a troubleshooting code or not)
any help with this issue would be appreciated .
thank you