Yes. Lineout not completed correctly. Depending on who knocks on? I would think this would be the intention of the laws. A side that wants the game to end could ‘accidentally’ knock-on just as they could throw incorrectly.
That would be a deliberate knock on, and a PK so game continues