Yes, it works on iPhone as well. This app doesn't use anti-bruteforce protection, which means there is no timeout or device lockdown after a series of wrong PINs entered. Because of that, this scenario is possible to execute. This is not a system lockscreen PIN, and this device can't bypass it! Using this technique to unlock iOS lockscreen will lead to locking out your device! 👉 Take away message 👈 1) If you decide to use such an app lock protector, make sure not to use easy to guess and common passcodes. 2) If you are a developer, I advise you to implement brute-force protection that includes timeout after a few incorrect entered passcodes. To conclude, it is always better to use fingerprint protection.
A samsung won't let you do that. After a few errors, it makes you wait a minute before you can try again. You could program those pauses into the rubber ducky easily enough, but it would take hours instead of minutes to crack it.