It sounds like your striker plate may have come loose, and is catching on the locking mechanism as you shut the door, flicking the "pawl" into the locked position...
Your striker plate is the shiny plate that is attached to the pillar, If I recall correctly, it is held on with 2x torx screws, check the plate to see if its worked loose, put the plate back to its original position, and retighten screws...
HTH
Thom