Is it possible to create an App lock app in Ionic?

Could anyone please tell me if it is at all possible to create an app that asks for password before opening other apps in Ionic?

For example, when a user opens Whatsapp, the app asks the user for a password before actually launching Whatsapp. If if is possible, could anyone please guide me on how to proceed?