The savannah where lions live can be very wide open. Often there is some distance between trees. So even if it were possible to evade a Lion by climbing a tree (it's not), you would have to beat the Lion in a footrace to said tree.
Also what would you do if you reach the tree safely and you find a hungry leopard up there? They are very efficient tree dwellers.
0/10 xfitguy