Most people back up their iPhones or iPads to iCloud, which isn't entirely private: Apple always holds the key, so it can help you out if you forget your password. If you want a truly secure backup of your device and you have a Windows device, use iTunes. Here's what you need to do.

How to create encrypted local backups in iTunes
First, install iTunes for Windows if you don't already have it. You can download it for free from the Microsoft Store for Windows 10. Once installed, launch iTunes.
Connect your iPhone or iPad to your Windows 10 PC using the appropriate USB-to-Lightning cable. When asked if you want to allow the computer to access your device , click “ Continue.”

When prompted by your device, enter your passcode on your iPhone or iPad screen to trust the computer. After your computer recognizes your device, you'll see a small icon (that looks like an iPhone or iPad) in the toolbar. Click on it.

You will see an iTunes screen with general details about device (If you don't see it, click “Summary” in the sidebar.) In the Backups section, locate the “Automatically Back Up” header and place a check mark next to “Encrypt local backup.”

After you check the box, iTunes will ask you for a password. This password will unlock the encrypted backup in the future, so enter a strong password and make sure you don't forget.

After that, locate the “Manually Back Up and Restore” section and click the “Back Up Now” button

Assuming you have enough free space on your Windows computer, the backup will begin. If you have a lot of data on your iPhone or iPad, the backup may take a while, so be patient. When the process, you can safely disconnect your iPhone or iPad from your computer.
How to restore an encrypted iPhone or iPad backup
To restore an encrypted iPhone or iPad backup to your Windows 10 PC, launch iTunes and plug your device in. Click the device in the iTunes toolbar that looks like an iPhone or iPad.

On your device summary page, locate the “Manually Back Up and Restore” section. Click the “Restore Backup” button.

In a pop-up window, iTunes will ask you to select the backup you want to restore. Select the one you want to restore from the drop-down menu, then click “Restore.”

Since your backup is encrypted, iTunes will then ask you to enter your backup password. This is the password you set earlier when you first created the encrypted backup. Enter the password, then click “OK.”

After that, iTunes will restore the backup to your device. It may take a while, so be patient. When it's done, you can safely disconnect your iPhone or iPad from computer .
Information source: howtogeek.com
