Follow these steps to enable the “US (International)” keyboard layout:
Open the Start menu and search for “settings“ to find it.
If you don't have “English (United States)”, you can add it using “Add a language”.
You can find this menu in the notification area in the taskbar, usually in the bottom-right corner of the screen.
To type accented letters, you first type the accent and then the base letter. So:
If you're not happy with this keyboard layout, you can easily switch back to your old one using the keyboard layout switcher (see Step 7). You can also completely remove the newly added keyboard layout by following Step 1–4, selecting “United States-International“, and removing it.