plz note you’ll lose your data when you entered these code, so do it at your own. I am not responsible. it is not for all Samsung phone, but many can be unlocked.
if you need factory unlocking code for samsung, huawei or motrola watch video
Video credits to the YouTube channel owner