I reviewed your post and I understand that you want to know how to disable the touchpad.
Don’t worry, I assure you I will try my best to get this sorted.
I recommend you follow the below steps to disable the touchpad when an external mouse is connected.
Open up Windows Settings by clicking the “Start” button, then clicking on the cogwheel. You can also hit Windows+I. Next, click the “Devices” option. On the Devices page, switch to the “Touchpad” category on the left and then disable the “Leave Touchpad On When Mouse is Connected” option
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!
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".