To keep an area of a worksheet visible while you scroll to another area of the worksheet, you can lock specific rows or columns in one area by freezing panes .When you freeze panes, you keep specific rows or columns visible when you scroll in the worksheet. You will benefit a lot from this function in Microsoft Excel 2010. And I am glad to tell you how to freeze panes to lock specific rows or columns.
What's more, you can freeze rows at the top and columns on the left side of the worksheet only. You cannot freeze rows and columns in the middle of the worksheet.