door pops open

Door will not stay shut. If you hold it closed the washer runs. ordered new door latch no help. What are the chances its the door lock sw assy?