It's even more complicated than that......the switch in the boot lock sends a signal to the central locking/alarm control module which i figure does 3 things,
1. if the alarm is armed it tells the siren to operate.
2. if the car is unlocked it tells the lights to come on.
3. as you lock the car the module checks the status of the switch and if the lid is closed it operates the central locking and then confirms that all locks are locked by flashing the indicators or giving an audiable beep.
the switch has 3 terminals on it, T1, grey/white. T3, blue/red and T2 which is a common ground which i believe is brown. disconnect the plug and check for continuity between T3 on the plug and the chassis. if ok then and check between T3 and T1 and then T3 and T2 on the switch with the boot locked and then unlocked. i would expect you to have a circuit through one terminal when locked and through the other when unlocked. this will prove the switch is working and there's a ground for the signal from the controller.
if all is ok then you need to locate the central locking controller in the right hand side well in the boot, it'll be wrapped in sponge rubber.
you're looking for a grey/green wire connected to terminal A12, it's quite tricky to find as there's plenty of wires in there. This is the supply to the boot lights. with the boot open you should have 12v on there.
The common fault is the boot switch breaking, there's a blue plastic arm that snaps off. If you're not getting the indicator flash or confirm beep when you lock the doors i'd guess the switch has broken in which case you need a new lock mechanism as it's rivitted together and you can't replace just the arm.