After entering the wrong password 3 times your YubiKey is locked in order to avoid brute-forcing the password. Luckily, there's a way of unlocking yourself.
⚠️ you will lose all data on it
gpg2 --card-status
Application ID ...: D2760001240102010006042126520000