Jeff has an iPad and he can't remember the four-digit code to log in. How can he figure that out or should he just start over? Leo says there is no way to bypass the code in the iPad, and after ten times trying, the tablet will rewrite it. Chances are, his iCloud account has all the data, so that won't really be a big deal if the tablet gets overwritten. Apple has a process if a user forgot their AppleID password. Go to iForgot
How about a Windows 10 computer? How can he get his passcode for that? If he has a Microsoft account, he can reset the password as well. Microsoft has an account recovery form.