A lottery pick denotes a draft pick whose position is determined through the lottery, while a non-playoff team involved in the process is often called a lottery team.
Under the current rules, only the top four picks are decided by the lottery, and are chosen from the 14 teams that do not make the playoffs.
After the top four positions are selected (from the lottery slotting system), the remainder of the first-round draft order is in inverse order of the win–loss record for the remaining teams, or the teams who originally held the rights if they were traded
The NBA draft lottery is an annual event held by the National Basketball Association (NBA), in which the teams who had missed the playoffs the previous year participate in a lottery process to determine the draft order in the NBA draft. The NBA Draft lottery started in 1985. In the NBA draft, the...
https://en.m.wikipedia.org/wiki/NBA_draft_lottery