This happens all the time and is fairly easy to manage. Most, if not all, device providers allow cloud removal of your locked device. It’s generally as simple as logging in from a browser and removing the device from your device list. For more information please refer to the manufacturer of the device.