A family of Microsoft word processing software products for creating web, email, and print documents.
It shouldn't work that way.
I have a workbook with six columns and a little over 300 rows. The first column is a sequence number, and the first row is the column headings. When I click in cell B2 and choose Freeze Panes the way I posted, the first column and the first row are both frozen. Here's a partial screenshot with row 175 as the first visible one and with the sheet scrolled to the right partway through column B:
This is in desktop Excel of Microsoft 365 on Windows 11. I also opened the same file in Online Excel, and it behaved the same way. What version of Excel and operating system are you using?