On the sign-in screen, there is a "Ease of Access" button at the bottom right corner. Click that button and use the on-screen keyboard to type in your password. This can get around some issues in case your keyboard layout was changed or the NumLock feature was turned on.