Not sure if you want the header and the first 2 columns frozen but if not both you may have to take a look here
link[
+]
Or else this will work
this.dataGridView1.Columns["columnName"].Frozen = true;
found this source that also shows the above code as a solution
clickey[
*]