RouterOS login is not working because of a lost or forgotten password.
The only solution to recover the device is by resetting it to factory defaults.
All the unit configuration will be lost!
Please be sure, you save configuration "/export" or device backup at a separate place.
If someone offers you "password recovery" tools, be aware, most likely it is a scam! Because in reality there are no such tools!