In phones that have pressure-sensitive buttons such as HTC U12+, press and hold the POWER button until the phone vibrates, and then release your finger.
When the Download mode screen appears, navigate to System info, and then press POWER.