2009 VW Passat CC TDI

Busy with a renovation job, but hopefully I will get time in the next few weeks to replace the driver's door lock mechanism. The door became unreliable when unlocking with the key fob a few months ago. The thing is, I didn't notice before because I only just drove the car recently - I had to use it for a small "emergency" - but, the fuel flap also has difficulty opening! Found out when I went to put diesel in - the button on the dash doesn't reliably open the fuel flap - had to try several times - it has never been like this before!

Does anyone know if the driver's door lock issue is related to the fuel flap? Are they linked in some way? Not much point fixing the door lock if I go to get diesel and can't open the fuel flap?