Sorry if I’m misreading your scenario, but you are saying that K locks on during reset under certain conditions? If so…
You should also take a good look at your SB (reset control) relay. The K relay should not be powered during reset, nor should the flippers (are they working?). A make/break switch on SB turns power off to the scoring relays, flippers, pops, etc while the machine is resetting - the switch on SB with RED-BLK and OR+GR wires should be open.