This is in LayOut 2018? Is it possible that you are clicking and dragging the page name? The only way I can get the pages to change order is to click and drag the page. If you hold the mouse button long enough the cursor changes from the large white arrow to the vertical double-headed arrow.
There isn't a setting to lock them in position but they shouldn't be moving with just a short click on the name.