Need advice on 4th gen door swap

Four months ago a pig ran out in front of the TA and made a mess of my bumper cover/ fender/door.

I have the parts to swap Iíve already done a bumper cover and a fender so Iím prepared for those two need advice on the driver door swap like.
1.canít figure out how to remove the key lock to reuse on new door? there an electrical part for the key FOB?

The wiring looks kindof striagt forward looks like I just feed all the wires thought the door hole
3.can this be done w/ the control buttons still attached any tips here would be apprecheated.