Thank you for posting on the HP Support Community.
Don't worry as I'll be glad to help,
This sounds like hardware related issue with the hinge assembly and in order to fix this issue, your computer needs to be serviced. As we have limited support boundaries in the support community as of now.
I would request you to reach out to our Support and our Support Engineers should be able to check the available service options in order to diagnose the computer physically. HP Support can be reached by clicking on the following link: www.hp.com/contacthp/
Please feel free to contact us here anytime you need any further assistance. Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".