Combine flour, baking soda, cornstarch and salt. Set aside.
Combine butter, brown sugar, vanilla, and egg until just slightly beaten.
Slowly incorporate dry ingredients. Fold in chocolate chips and oats.
Make small dough balls, press in the middle with your thumb and add a caramel. Press another dough ball around it to encase it. Optional: use a cookie scoop, dividing it into halves to add caramel to the middle. Crack a little sea salt on top.
Bake 10-12 minutes, until golden brown.
Notes
I use Kraft caramels because they are SO much easier to unwrap than other brands. I personally cut them in half, but you certainly don't have to!
Be careful not to overbeat the mixture so that they result in thick and chewy cookies.