No, I would like to display my application's login screen. Something like auto lock application when there is no activity for some time.
Device gets automatically lock if not used for some time, so that is fine. But in my case if my application is not used for some time then it should show the login screen of my application. So that means, even you are working on some other application and you return to my application so it will show login screen if you came back to it after the lock period.