This is the most important check for used buyers. A serial number lookup can sometimes verify if "Find My iPhone" (Activation Lock) is turned on.
If the device is locked or you only have the box: apple serial number lookup
These decode the serial number’s hidden info: This is the most important check for used buyers