Check out Microsoft family safety, it's for free and it's what your looking for. I also recommend getting webchaver (covenant eyes) in conjunction with that filter service, and if you look at my signature you'll see how to get it for free. Go check out the services they offer, microsoft family safety has a lot of other good features on top of just the filter.
By the way it may seem a little embarrassing to tell others about this struggle but everyone nowadays is aware of what's on the internet, it's just a matter of you reminding them of what a filthy place it is in certain areas. Even people who have never watched anything in their lives are aware of it. My mom for example never set filters on my device when I was younger but when I told her about my struggles (I had to tell her because I'm not in touch with my dad) she knew exactly what I was talking about and for me it wasn't embarrassing at all, I only felt uncomfortable about the feeling of embarrassment I thought I would feel, but it never happened. She was very understanding and this is how almost all parents are. And I do recommend that you bring yourself to do this because this is necessary to do with at least one person you know in person (even just a friend or a mentor here on GYE) in order so that they can help you with the filters. Without someone else to be in control of the filters, the only other option left is to let yourself be in charge of the filters and this will not help you at all because as soon as an urge comes you will give in. It's similar to someone who is trying to quit drugs and he decides to put his drug of choice in a safe to which he knows the password to. And given the nature of the internet it's as if this person then took it further and put the safe in his room and also an unlimited supply of the drug in the safe. This person obviously sets himself up for failure.
If you want I can post below in detail of how I told my mom if you think it can help you do the same with people you know. I can also drop a list of allowed websites here so you can them to your whitelist without thinking that your trapped or the like. It includes websites like fedex and google drive to religious websites. Also, if you look into my signature you'll see that there is one loophole in Microsoft family safety but if you get webchaver also, the loophole is fixed as I said below.