It seems like this started happening relatively recently, but I am not sure what changed - when I am playing any kind of video (YouTube, Safari, etc.) over Airplay to my Apple TV, the default screen lock will activate and the video stops playing.
Any idea why this is happening, or how to stop it? It doesn't seem to happen when playing a video on the device, only when playing over Airplay.