Hi Grace
Most likely the problem with your washer is a bad lid switch.
Does it click when you slowly open or close the lid?
If the answer is "No" then no doubt the lid switch has to be replaced.
- The part number for the new lid switch
AP3100003
- Here are the break down diagrams for the Roper washer
Model RAS6233KQ0
Good luck.
Gene.