Gives an idea to observe on different Applifecycles for pushing PIN screen after expiry time. This application doesnt have real PIN screen as this focuses on lifecycles and not the UI aspect.
Below medium artcle gives more detailed explaination.
https://medium.com/@harsha973/flutter-app-lifecycle-for-showing-pin-lock-c7a8a758d222