A common problem for the boot lock not working properly, can be the little white clip, that is attached to the opposite end of the rod coming from the C/L unit in the tailgate, this clip should be mounted securely to the rod, so it moves with it, but over time, the clip can become loose, and the rod passes straight through it, giving the impression that its actually working OK, when in fact its doing nothing!
Thom