Unlike older operating systems (like Windows 95, 98, or ME) that allowed you to press before Windows loaded to access Safe Mode, modern HP laptops—like most computers running Windows 10 or 11—have disabled this method. The boot process is now too fast for the keyboard to be recognized in time.
If you search online for the "safe mode key for HP laptop," you will find a short, frustrating answer: There isn't one. safe mode key for hp laptop