Quick question ( I am sure it has already been addressed somewhere but I was MIA for a few months)

If the Lakers finish with the 2nd worst record but “lose” the lotto and end up with the 4th pick – do they lose it?

aka: is keeping the pick based on finish or draft lotto?