The secondary Apple device market is full of risks: iCloud-locked devices, stolen phones with blacklisted IMEI, carrier-locked iPhones from the USA, corporate devices with MDM profiles. Each of these problems turns a purchase into a useless brick.
The good news - most problems can be detected before meeting the seller, simply by checking the IMEI. This checklist will guide you through all verification stages: from remote IMEI diagnostics to in-person device inspection.