Use Cryptomator: The search results suggest that using Cryptomator is a good way to encrypt the local files in Obsidian. Cryptomator creates an encrypted virtual drive that you can use to store your Obsidian vault. This way, even if someone accesses your local files, they won’t be able to read the contents without the encryption key.

https://cryptomator.org/downloads