I've noticed is that the CAPSLOCK and NUMLOCK keys flash 5 times
This indicates a General system board failure.
Maybe some of the liquid has gone inside and damaged your motherboard.
Please try the troubleshooting suggestions below.
Troubleshooting LED Blink Codes or Beep Codes During Startup or Boot
Startup Symptom: LEDs blink or computer beeps but does not start
Use this document if the notebook does not start, but the LEDs near
the keyboard blink several times, or there are a series of beeping
sounds, just after the power button is pressed.
The blinking LED lights on newer computers, or the beep tones on older
computers, will help support agent determine what hardware component
is not responding properly. The exact meaning of each code varies with
the model, and the user cannot change any of the blink or beep codes.
DO THIS FIRST - Perform a hard reset
If a PC suddenly fails to boot properly, you should perform a hard
reset as the first procedure.
Disconnect all peripheral devices and remove all USB devices and media cards. You want to test the computer not the accessories!
Disconnect the AC power adapter, remove the battery, and then press and hold the power button for at least 15 seconds .
Reconnect the AC power adapter (but do not connect the battery), Press the Power button, Look for glowing LEDs near caps lock and num
lock keys, and Listen for sounds of a disk drive and fan turning.
When there is a start-up problem and you see LED lights on the keyboard blink a few times (between 1 and 8 blinks), or hear a series of beep tones (between 1 and 6 tones), do the following actions. There is very little you can do to resolve blink or beep code messages until you contact an HP Support Agent or authorized HP Service center.
Recognize Blink Codes
With the development of the Extensible Firmware Interface (EFI)
environment, the HP Pavilion and Compaq Presario notebook computers
built in 2009 or later use blinking LEDS to identify hardware
component reporting an error during startup. The codes are not valid
for other models.
Press the power button to turn on the computer, and look for blinking LED lights on the keyboard.
Count the number of blinks in the sequence (between 1 and 8 blinks).
After the sequence of blinks or beeps, there is a pause for a few
seconds, and the sequence is repeated (usually 3 or 4 times). The
blink sequence can be repeated by pressing the power button again.
Get technical assistance
When you see blinking LEDs or hear beep tones, you should contact HP for technical assistance. Report the number of LED blinks, or the number and duration of the beep tones, and the model or product name of your computer. The Support Agent can help you troubleshoot the startup problem.
Source HP Notebook PCs - Troubleshooting LED Blink Codes or Beep Codes During Startup or Boot