I dont want to permanently bypass keyguard, just for that moment .For example when a alarm is raised (eg wake up alarm) i can dismiss /snooze it whithout unlocking screen .I
if your windows type is setted high enough . You can show your window above lock screen.
WindowsParams.type = WindowManager.LayoutParams.TYPE_SYSTEM_ERROR;