Just to make it extra clear - ALL Headphones with a standard 3.5mm headset connector work with the HTC 10.
You CAN just buy whatever headphones you like and plug them in, like you can with Samsung, Oppo, Huawei, Lenovo, etc.
Markdoc was speaking specifically about headphones (earbuds) with the in-line mic and in-line control buttons (example; vol up+, vol -, mute, answer call/hang up call, play/pause, long press google search). The functionality, of the special feature of in line buttons,
is finicky with HTC devices/software and has been for years. (goes back further but this was the prior most post I could find)
Markdoc wanted the special feature of
fully functioning mic or in-line buttons, so he was sticking with HTC branded/released headsets to ensure that they would fully function with HTC's Sense (OS skin)
The new
JBL Reflect Aware C headphones Markdoc mentioned are new (spendy and never included in the phone's box) and utilize the USB Type C connector (charging port) instead of the
"analog" 3.5mm headset jack. A number of different companies have started offering Type C connector headsets lately, new trend.
Type C connector increases data transfer and fidelity; read
"digital", ALSO can handcuff media with enforced DRM.
Apple has been rumored for 6+ months that they would drop the 3.5mm headset jack and introduce a new Lightning connector headphones set (proprietary - I think still only Apple uses lightning at this date)