How Do I Stop My Neighbors From Turning On My Apple TV?
If your Apple TV is spontaneously turning on (and potentially turning on your television as well), it's usually because someone is either accidentally or purposely attempting to connect to the Apple TV via AirPlay. Fortunately, it is possible to restrict access and prevent this from occurring.
Launch the Settings app on the Apple TV and navigate to AirPlay > Allow Access. Change the setting to only allow access to "Anyone on the Same Network" instead of "Everyone". You can further restrict access by disabling the option to "Also Allow Nearby to AirPlay".