The free-agent center will return to the Lakers on a two-year deal.