It is not possible to lock rows in the middle of the sheet.
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. Jun20 How to freeze rows and columns in Excelīy Svetlana Cheusheva | updated on January 12, 2022