Look this Wrong PIN Shutdown | F-Droid - Free and Open Source Android App Repository and this Wrong Pin Shutdown | F-Droid - Free and Open Source Android App Repository
Twice and this one older and bad Wrong Pin Shutdown | F-Droid - Free and Open Source Android App Repository