Door will no longer latch when closed
I experienced this at a previous property of mine.  I found the easiest thing ended up being adjusting the latch.  Unscrew the metal plate and use a small sharp chisel to carve out the required area (and maybe a large drill bit if the actual recess needs expanding more than a millimetre or two).  Any gaps can be filled with wood filler after the fact.

If the case is that the door fails to easily sit flush in the frame then you may want to adjust the hinges (usually by digging out the hinge recess in the frame a little more) to see if that stops the “bounce”