There is no master reset code for Samsung. If your phone is frozen or unresponsive, you can try pressing and holding the Power button and the Volume Up button at the same time for about 10 seconds to restart it. If that doesn't work, you can try a hard reset by pressing and holding the Power button and the Volume Down button at the same time for about 10 seconds.