My mother tried that. Her challenge was, that around age 12 or so I became smart enough to bypass her methods.
She would hide the router, I would find it, she would change settings in the router, I would change them back. She would hide cables etc for the computer, I would find them or even buy new ones.
She would hide my consoles or games, I would find them and then hide them from her in turn.
She tried to enforce TV limits, so I would wait until she slept to watch without sound and subtitles. She would put parental controls on TV, I would spend hours until I brute forced the PIN.
She even took my phone and I went and got myself a cheap one by saving up money.
What she never really tried was talking to me about it and asking me why I want this so much, then maybe I could have told her it is cause I don‘t have any friends and we don‘t have money to do anything else, she was at work and I was sat around alone bored out of my mind, so I want entertainment at least.
So my advice is, try talking to your kid and together find other activities they might enjoy and that you approve of, then probably the usage of tech would go down naturally.