If you've filed a claim for replacement, the device's IMEI gets "blacklisted"... and if you were using Activation Lock and Find My iPhone - you can set it so it will wipe if someone connects it to the internet and it will be locked to prevent someone from using it.