I have an app based on NativeFilterDemo that basically shows camera preview using mediaelement.
While app is open, lock screen is not being engaged.

Tried both in release and debug mode.