You do not have to replace K&T by the electrical code. You town or insurance might have a different opinion of that.
GFCI receptacle are a valid replacement if three prong plugs are required. One receptacle can protect the entire circuit. All device must be marked with the little labels GFCI protected, ungrounded.