My passenger door used to do this a couple of years back. Changed the coding so that passenger unlocks with one click, not 2 and slowly the issue disappeared. I put it down to the passenger door not getting any use with the previous owner.
In any case, when this was happening I did get some codes stored, so may be worth a scan with VCDS or similar.