Open Settings and go to Applications and Features.
In the right pane, click Advanced Features.
Click the Add Feature button.
Type Notepad in the search bar or scroll down the page to find it.
Click Notepad and install it.