Chosen Solution

Samsung galaxy tab is locked. It keeps asking for a password, but no one has set a password. How to unlock?

You’re gonna have to factory reset it. Power it off and hold the power key and volume up. You will be prompted to recovery mode in a second. Use volume keys to scroll and power to select. Select factory reset and reboot. Note that you WILL LOSE ALL DATA doing this.