Activation Lock not restrict Device reset

In DEP enrolled devices, even activation lock enabled, device reset cannot be restricted, After reset only it asking Managed Apple Id credentials. In our case even activation lock enabled, if device is in 30 days provisional period of ABM, it can reset and removed from MDM, It is better to ask Managed Apple ID or Bypass activation lock code before reset the device.