Modern engines (as in, post 1989) will sense an engine knock (or a misfire) and go into open cycle ECU mode, ignoring the lambda sensor inputs. It'll run really rough and rich in order to avoid any more knocking, which could seriously damage the engine.