Lock screen app

I would like to create an app that will serve to lock my Android device so I don’t have to use the button on the device anymore.
I wonder if it is possible to do this via the Mit Inventor app?

Welcome.

???????? Maybe you can explain what you want to do in more detail?

perhaps one of these community links might help you.
Search results for 'lock screen' - MIT App Inventor Community

I wnat to make app as this one https://play.google.com/store/apps/details?id=com.mayank.lockit&hl=en_US&gl=US

I would read the advice regarding lock screen. If none of the posts help then try using Android Studio to develop your app.

Where can I read it

What is discussed in the community is here>