You can use h264 or h265 to create 10-bit media, but at least from what I've seen you need to be on the High 10 profile, which isn't going to be supported in all video players (VLC-Yes, Window Media Player-No). Between the two you'd have more support with h264 in video players, but again - some will not play high 10.
You can use Media Info in tree view to check the bit depth and chroma subsampling:
I was not able to create a 4:2:2 file with h264 or h265. I'm not the most color savvy person out there, though, so hopefully some others can chime in.