door will not latch

washer will run if I hold door closed or put something in front of it to hold it closed however water leaks out will a new strike solve this??