Add the ability to lock the app with pin code (desktop & mobile apps)

It would be a good option to be able to set pin code to lock the app. It works good in Telegram. To unlock the app user must enter a pin code. And on inactiv period the app will lock again