this is a sample app that supports locking the app with a pin number preventing all access to all areas of your app to anyone without the pin.