Does anybody have instructions on how this switch is removed? for some reason the light has stopped working on mine

Somebody also mentioned that you had to be careful when removing as this could lock the brakes?

Any advice is appreciated

Thanks