Thank you for the question.
Short answer is: you never have to patch to withhold a medication.
Patching is for authority to provide a treatment that is outside the medical directive (but within scope) , a "mandatory patch point" or clinical advice.
I would encourage you to document the reason for withholding the medication.
The bigger issue is that in the prehospital environment, you do not have the ability to determine if a cardiac arrest patient has hyperkalemia. Amiodarone and lidocaine are problematic in the patient with known hyperkalemia not in cardiac arrest, where it can lead to BRASH syndrome. In a cardiac arrest patient who is in recurrent V fib or V tach, the benefits of amiodarone and lidocaine would probably be reasonable since potassium levels are unknown.