I've had this happen to entire frame and it was a ***** to fix.
Ended up having to lift the roof and add some brackets to the top and attach them to existing battens.
I was still getting movement around the lock. Was unable to get any fixing as the overlap from the door to brick was too...