I need help with the transition between pages, please

I have 7 pages. From 1 to 5, they can scroll from one to another, but from page 6 onward I don’t want them to scroll. I need pages 6 and 7 to be separate pages, and to be navigable only via a linked button on other pages.

How can I do that? Can I fix a setting on page 5 to stop the scroll?

THANK YOU!