The NBA has reached an agreement with the National Basketball Players Association to withhold 25% of each player's salary from May 15 due to the shutdown of the sport because of the coronavirus pandemic.