Hello,
I am William, an independent advisor and I offer support to other users.
If you are looking to lock apps (or websites) for one of your family member’s user account, you can use Windows 10’s parental control feature to do that.
There is no inbuilt fully feature like this within the Windows.
However, you can download 3rd party apps for the same.
You can see the list here- https://beebom.com/how-lock-apps-windows-10/
Let me know if you need any more clarification.
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.