Assuming GP was selected either manually or automatically, if the flight crew selects LOC 06L, instead of ILS 06L, the system will default to VOR/LOC & G/P as the control modes for the approach. No selection of G/S ON/OFF is required for this scenario, since the default for a LOC approach is G/S OFF.
If the flight crew then wishes to disable GP do the following:
1) Prior to arming approach (pressing the APP button), the pilot can select G/S ON (which deselects GP) on the APPROACH REF page on the CDU.
OR
2) After one (or both) axis is armed or engaged in approach, then the pilot must disengage the approach mode (F/D off and A/P off). After this, the pilot can select G/S ON on the APPROACH REF page on the CDU.