Use number pad to type password temporarily.
The problem is with shift key. Good that hard drive and motherboard is safe.
In case of liquid spills, you have to power it off, remove the battery quickly and then dry it. Take it to service centre.
If you kept it on in wet state for long, then it could be keyboard liquid damage, not expensive repairs and sometimes fixed by cleaning the contacts.
Edit: Press all keyboard buttons one by one and then check.