@Stacy08 Welcome to HP Community!
I understand that you are facing a keyboard issue.
Please perform the keyboard test and let us know.
1. Power off the PC and make sure that it is completely powered off.
2. Press the power button and the moment you press the power button immediately start tapping F2 key, you should see the system diagnostics screen.
3. Look for the component test, under that all the hardware will be listed, please choose Keyboard and initiate the quick test.
Note: If it fails it will generate a 24 digits alphanumeric failure id, please capture that.
Keep us posted,
If you would like to thank us for our efforts to help you,
Give us a virtual high-five by clicking the 'Thumbs Up' icon below, followed by clicking on the "Accept as solution" on this post,
Have a great day!