“I can’t find the solution anywhere”.
Seriously, I have to ask, have you ever heard of google?
A quick search for ‘cancel timer corona’ yields exactly the information you need.
Start your timer using:
local knifeTimer = timer.performWithDelay( 3500, createKnife, -1 )
Cancel it using:
timer.cancel(knifeTimer)