Are you referring to having to have a password to unlock your device? If it is requesting a password, than someone did set it. It has to be entered two times at setup to verify it. After 5 or so tries it should ask you for your Google account info to unlock your device.
If you still don't know your password, use
Android Device Manager. You will need your Google Account info.