In this tutorial, we'll learn how to make a file or folder "hidden" on Windows 11. Hidden files aren't displayed by the File Explorer by default when listing the files of a location.
Danger: Hidden Files Aren't Really "Hidden."
To hide a file or folder on Windows 11, follow the following steps:
1: open the file properties dialog of the file or folder that you want to hide.

2: in the General tab, check the checkbox that reads "Hidden."
3: click OK. The file will be hidden.
Note: after the file is hidden it will, literally, be hidden, i.e. it will disappear, which means you won't be able to unhide it unless you change a setting to make the File Explorer display hidden files.