If you are a bit clumsy with the graphite, it can leave a dark residue on exposed surfaces, but I can't think of any places where it should never be applied if ultimately required as a lubricant. Keep it away from reeds and valves, I guess...
It's best to use locksmiths' graphite which should be a very fine dry powder (usually supplied in a squeezy puffer-type container) rather than in a squirty or tube version which may be mixed with a propellant of some sort.
Put some dry graphite powder in a small dish or saucer or similar, then mix it with a little methylated spirit. Use a small pointed artists' paint brush or similar to apply small amounts of the graphite/spirit suspension to the problem area on the instrument. The alcohol acts as a carrier to get the graphite into hard-to-reach areas, then evaporates leaving the graphite in place.