How to control a teenagers screen time?

My mom has asked me to find out if there's a way we can control his screen time on his PlayStation and PC.

Like a way where his internet shuts off at 10pm on just those devices so it doesn't affect us? Maybe set up parental lock on them.

I don't know how to find out about any of this so posting on here