@Khalida413
I reviewed your post and I understand that the computer is making a buzzing noise and freezing randomly.
Don’t worry, I assure you I will try my best to get this sorted.
I recommend you update the BIOS and the graphics driver from the below link and check if it helps.
BIOS: https://ftp.hp.com/pub/softpaq/sp108501-109000/sp108761.exe
Intel: https://ftp.hp.com/pub/softpaq/sp102001-102500/sp102122.exe
Nvidia: https://ftp.hp.com/pub/softpaq/sp104001-104500/sp104237.exe
Let me know how it goes and you have a great day!
P.S: Welcome to the HP Support Community 😊
If you wish to show appreciation for my efforts, mark my post as Accept as Solution. Your feedback counts!
Cheers!
Stay Home – Stay Safe
The_Fossette
I am an HP Employee