Is it a laptop or desktop? It seems like it is stuck in BIOS. To fix this, you’ll have to clear its BIOS manually by opening the PC, clearing the CMOS battery and putting it back in after a few minutes. This process will clear your BIOS password and this (invalid password) problem as well.
If you don’t want to do it from yourself then you’ll have to get it repaired from the Laptop repair shop.