لَمْ has no separate lexical translation here. With an imperfect, it makes the statement emphatically negative and restricts its meaning to the past.
يَفْعَلُ — he does / will do
لَمْ يَفْعَلْ — he did not do at all
Therefore, do not translate the second expression as “he does not do.” Read the combination as one emphatic past-negative meaning.