Steve
GS Whisperer
Can't give you the details on your particular bike, but whenever I have done that, I have found it easiest to remove the headlight bucket for access to the switch assembly.
The electrical portion of the switch is at the bottom of the fork lock assembly. The fork lock assembly is held to the bike with some larger bolts. The electrical part is held to the bottom with some smaller bolts. There is a chance that you <might> be able to unbolt the electrical part with the lock assembly still on the bike, but it will be easier if it's all removed. There should be a 4-pin connector about 6 inches away from the switch that will allow you to remove it from the bike for easier servicing.
While you have the lock assembly off the bike, take a few minutes to clean and lubricate it, too. Maybe even flush some of the crud from the keyway. Who knows? You might be able to actually use the fork lock again.
.
The electrical portion of the switch is at the bottom of the fork lock assembly. The fork lock assembly is held to the bike with some larger bolts. The electrical part is held to the bottom with some smaller bolts. There is a chance that you <might> be able to unbolt the electrical part with the lock assembly still on the bike, but it will be easier if it's all removed. There should be a 4-pin connector about 6 inches away from the switch that will allow you to remove it from the bike for easier servicing.
While you have the lock assembly off the bike, take a few minutes to clean and lubricate it, too. Maybe even flush some of the crud from the keyway. Who knows? You might be able to actually use the fork lock again.
.