The Lakers could have upward of $50 million in cap space this summer, but that's only if they follow a certain path.