So what happens to next years draft if they have a lockout? There isn't one?

There will still be plenty of guys newly eligible, so there has to be one. It would only be a problem if the lockout lasts the entire season. And if that happens they'll likely weigh the lottery differently somehow.