لَمَّا connects the past to the present point: the action did not occur before, and it has still not occurred now.
لَمَّا يَصِلْ عَلِيٌّ
Ali has not arrived yet.
This sentence reports the situation up to now. It does not by itself mean that Ali will never arrive.