If you've reset everything then you are fine to sell it, nothing wrong with doing that at all. The iCloud lock ones are ones that have an iCloud account attached to them where the seller doesn't know the password, as you can imagine you should probably avoid buying ones as they are likely stolen.etc