Views:

A locum GP usually does not have their own code.

Locum GPs should use the prescribing code of the doctor they're covering.

They would use a spurious code if the GP has resigned, or if there's no GPs left in the practice.