The Lakers have agreed to a four-year deal with former Bucks assistant Darvin Ham as their head coach, sources tell USA TODAY Sports.