How to completely block the change of orientation in an application created thunkable?

Screen orientation problem. The application has all subsequent screens set to “poltret”. It works fine on smartphones but I am also testing the application on a Lenovo 12 tablet. Here, orientation locking does not work, the application screen is deformed. How to completely block the change of orientation in an application created thunkable?