Got back my Iphone 4s sometime ago. When I got it back it had a pin and I had to reset the phone to default settings to get rid of the pin. I followed the method on
it says to try to upgrade first before restoring but it doesn’t seem to work. It always needs the pin code to continue updating of the iphone so I just went direct into the restore mode. After that it went back to the similar setup iphone screen.