What two changes distinguish لَمْ يَكْتُبُوا from لَا يَكْتُبُونَ?

Negating the Imperfect with Lan and Lam: Subjunctive, Jussive and Full Paradigms