If the update does not include a new bootloader, the unlock remains active.
Otherwise, a new unlock will be required. In this case, it is recommended to advise the end customer not to perform updates at the dealership, especially if the vehicle is no longer covered by the manufacturer’s warranty.