If the laptop in question has a decent CPU, 4GB of RAM and an SSD Windows 10 should work fine.
However, there are two issues you might run into:
1. Intel CPU and AMD graphics. This combination should work fine under Windows 7, but under Windows 10 you might get a blank screen at startup which will eventually show the Windows desktop after some considerable time. If that is the case, disable ULPS (ultra-low power state) using regedit and looking for the EnableULPS registry key. If found, and it's a DWord, set it to 0 rather than 1.
2. HP DriveGuard / MobileProtection. Even if there is a Windows 10 driver for said device, always install the Windows 7 one. It might otherwise blue screen with storage related errors.