Right-click the file or folder you want to encrypt, and then click Properties. On the General tab, click Advanced. Check Encrypt contents to secure data. If you have chosen to encrypt a single file, you can also encrypt the folder that contains it.Encrypting files and folders using EFS is very easy. All you have to do is select a checkbox and back up the security certificate. To start, select the folder you want to encrypt with EFS, right-click on it and select the option “Properties.”The easiest and fastest way to encrypt files securely on your hard drive is to use Windows native encryption tool. Windows’ Encrypting File System (EFS) uses secure symmetric encryption using a File Encryption Key (FEK).
Can I encrypt a folder and all it contains?
It's not uncommon to want to encrypt a folder and all it contains. There are several techniques to encrypt a folder, each with pros and cons. Sometimes encrypting a single file isn’t enough. Sometimes you want to encrypt all the files in a folder, and often the sub-folders as well.
How to encrypt files and folders with EFS in Windows?
Select files or folders to encrypt with EFS and then do the following: Start Windows Explorer in the Start menu, in the desktop or in the taskbar. Right-click on the file or folder and select “Properties” in the menu. In the tab “General” click on Advanced. Check the box next to Encrypt contents to secure data.
How to encrypt files securely on your hard drive?
The easiest and fastest way to encrypt files securely on your hard drive is to use Windows native encryption tool. Windows’ Encrypting File System (EFS) uses secure symmetric encryption using a File Encryption Key (FEK).
What is Windows 10 Encrypting File System?
Windows 10 Pro and Enterprise users have a built-in encryption tool called the Encrypting File System (EFS). Any Windows 10 user, including those with the Home edition, can also use third-party apps such as 7-zip for file and folder encryption.

Below are two helpful articles on a similar topic 👇
Why can't I decrypt my encrypted files?How to decrypt and recover ransomware encrypted files?