One possible solution is VeraCrypt. You can use file (or partition) which you can mount as disk drive. It is very secure and very stable software. And its free.
To add a bit more info: veracrypt is available for Windows, MacOS, Linux, FreeBSD, Raspberry Pi OS.
P.S. No affiliation with developers of this product.