Replacement of missing corner of door frame – replicate the whole piece of wood and trim to fit, ensuring correct grain-direction in all planes.
Lock: find the right blank. File end so fits in lock. Apply pressure turning to mark the metal (or put substance on to get clearer mark). File side(s) so that key turns. Then check for marks from levers. File as nec.
With thanks to Cliff Deighton, Simon French.