For 2 in 1, I would recommend this LG gram because it comes with i7 1260P CPU which is one of the best in your budget and great for your usage, 16GB of RAM for smooth multitasking, Good SSD storage of 1TB for faster boot up and loading, 14" (1920 x 1200) IPS screen which is a must have for this price range, and high build quality.
Please note I'm using affiliate links which means I'll receive a small percent of the purchase if you use this link at no extra cost to you