Please navigate to Admin–>General settings–>Android Lost Mode Settings, you will be able to see the” Disable ‘Lost Mode’ on the ROM-enrolled devices” option.
A custom ROM configured device boots up to the lost mode with the option to connect to the internet. Once the device connects to the internet, it will get enrolled in Hexnode MDM.
If the option” Disable ‘Lost Mode’ on ROM-enrolled devices” is unchecked, the device will continue in lost mode after enrollment.
Please use the below screenshot for a reference: