You can unlock Samsung Devices with Magma Tool.
Magma Tool average 50 models supported. You can check all listfrom here.
After using this tool, everything will be work without any problem.
This tool access only works with Windows.