You can determine that the top row is frozen by a grey line below it: This will lock the very first row in your worksheet so that it remains visible when you navigate through the rest of your worksheet. To lock top row in Excel, go to the View tab, Window group, and click Freeze Panes > Freeze Top Row. You just click View tab > Freeze Panes and choose one of the following options, depending on how many rows you wish to lock: This can be easily done by using the Freeze Panes command and a few other features of Excel.
When working with large datasets in Excel, you may often want to lock certain rows or columns so that you can view their contents while scrolling to another area of the worksheet.
Below you will find the detailed steps on how to lock a row or multiple rows, freeze one or more columns, or freeze column and row at once. The tutorial shows how to freeze cells in Excel to keep them visible while you navigate to another area of the worksheet.