Do I recommend it? NO.
The lid lock it to prevent injury to the people near the washer, as without it stopping the machine, the agitator will turn with the lid open.
So.
If you will open the top up, you should see the lid switch, and you should see the electric wires attached to it.
With the machine unplugged, you can disconnect the wires to the lid switch and attach them to themselves, and the lid switch will then be by-passed.