A family of Microsoft word processing software products for creating web, email, and print documents.
You can add a horizontal line at the cursor position by clicking the down arrow on the Borders button in the Paragraph group of the Home ribbon, and clicking Horizontal Line in the menu.
But this has nothing to do with being able to see two parts of the document at the same time. For that, go to the View ribbon and click the Split button.
That creates the two views, separated by a line across the window that you can drag up and down. When you don't need it any more, click the same button again, which now says Remove Split.