Door doesnt lock

Maybe the striker needs to be adjusted out just a bit so the door latch latches.

You could be missing that plastic bushing or steal sleeve on the striker so it's not latching properly.