How can i for block the screen and canot exit of it?

I need help for block the scrren or the tactil of the phone for do a app like family link.

Welcome,