How to prevent "Freeze row and columns" from turning off

Often when I open my spreadsheet after setting the “freeze row and colums”, when I restart the spreadsheet the freeze function is off and I have to reset it again and again…

How can I keep it from “turning off”?

Always work and save in native .ods format. If you need to send an .xlsx file then click File - Save a copy, save as .xlsx and send that.

If you need to make changes, don’t work on the excel format, make any changes to the .ods files and save a copy again.

My file is being saved as a .ods file. But sometimes the freeze row works and then it just quits (no longer there). Any idea what I need to change in the file?

112641 – freeze rows/columns functions incorrect or unexpected when frozen rows/columns don't fit in Window

Looks like this “bug” been around since 2017 (8 years).
So I’ll say there is no solution right now. Thanks for the feedback.