For anyone having the same problem in the future. It is not possible in this case to login to Windows anymore.
Microsoft support call this problem (that you can not login even if you know your PIN code) security, I call this a huge Windows 11 bug, but no matter what, the only solution is to reinstall Windows. Of course, before reinstall, you can save your data from disk for example with bootable Ubuntu in the "try mode". Or better, you can install the Linux and avoid using Windows at all.