Most washing machines come equipped with a lid switch. This switch is connected to a solenoid that completes a circuit, allowing the machine to run only if the top is down. However, some washing machines come with a lid lock. This switch performs the same function, but the lid must be locked in place for the machine to wash. A simple bypass for the first type of lid switch is to simply jam a piece of wood into the switch, causing it to activate the solenoid. However, lid lock switches are generally magnetic and must be bypassed differently.
Turn off the washer and unplug the appliance. Move it slightly away from the wall.
Locate the retaining tabs and/or screws that hold the top horizontal panel down. Press the tabs inward and/or unfasten the retaining screws, using a screwdriver, and lift the top panel.
Look for the lid lock switch on the underside of the top panel and where it fits into the appliance. Place a magnet between the two so there is a magnetic connection between the lid lock and the solenoid inside the washer.
Put the lid back down and plug the washing machine back into the electrical outlet. Turn on the appliance and lift the lid. If the appliance keeps running, the magnet is in the proper location. If the appliance turns off, you'll have to lift the lid again and reposition the magnet.