i had same problem with my passat. it was a little electronic piston type valve in the boot lock mechanism. the fob and the keys both operate this and it siezes so it wont lock . it is only available from a vw dealer but isnt that expensive.
phil, October 2009