You can disable a device remotely even if the device has been lost or stolen.

When you disable education functionality in the UEM console, education functionality options disappear in the Hub. All information in the Class List, and mapping to classes, is deleted. Smart groups of enrollment users are deleted unless the group is mapped to applications, profiles, or compliance policies.

To disable education functionality, navigate to Groups & Settings > All Settings > Devices & Users > Apple > Education > Disable.