You can share files and folders on OneDrive from within Office apps, from your desktop, or from the OneDrive website.
You can password protect a folder in Windows 10 using a program called WinRar, which is free to download and use.