If a message appears on your TV asking for a Passcode, you may have content restrictions enabled. Restrictions work like parental controls, allowing you to restrict access to certain content on your Apple TV. You can turn this feature off in the Restrictions section on your Apple TV.
For steps, go to 'Turn off all restrictions' in Apple's Restrict access to content article.