On R32's there's a little leaver on the locking mechanism, you slide it up or down which stops the boot lid from unlocking via the in-cabin boot release. This is used in conjunction with your keys, R32's have a normal key and a valet key, the valet key will not unlock the boot or glove box for security purposes.
I assume R34 are similar?