It's a common problem with the mk5 that the door unlocking solenoids (IIRC) fail.
One of my rear doors started struggling to unlock before it failed, although my vw dealer replaced the mechanism under warranty. They advised that If I didn't have any warranty it would have cost around £250 to replace
There is a how to guide if you want to tackle it yourself (sorry I don't have the link)