Try by checking the time online
If the user put 5 times incorrect pin store the time in tinydb and after check again with the current time but you still need internet connection
Try by checking the time online
If the user put 5 times incorrect pin store the time in tinydb and after check again with the current time but you still need internet connection