You never know when one of your files might reach someone it wasn't intended to reach—perhaps through an email forward, a USB stick left behind on a desk, or maybe ...
To protect OneDrive links, you need a Microsoft 365 subscription. Without it, you cannot set expiration dates or passwords to the link. Alternatively, you can set passwords to the files you share ...