All Samsung Galaxy A10s unlocks are permanent, this means once you have unlocked the phone it will remain unlocked regardless of if you factory reset the phone or update the software.