I guess the bits that slide aren't properly aligned with the 'U's, especially the lower one if you have to kick it. Unscrew this 'U' from the frame and see if it will now close/lock OK. If so refit the 'U' and then adjust it (hole should be elongated) until the door closes OK. If unlucky the...