Please follow the Below step:-
1. Go to share mode
2. choose view setting as per your requirement
3. Change Link Access to anyone with password
4. Enter password.
5. Create Link
You can share the link with anyone , they can open this link if they have password you have set.
Please let me know if you have any further query.