Is there a way to disable touch temporarily? Imagine that you want to do something, while the display in is action (not in sleep mode) and at the same time, you don't want to do anything else. This situation is like children lock, in which, all buttons fail to react, temporarily, to disable any kind of interaction by a child.

Is there a way to achieve this in Android? Do we have something like lock screen?
There are several apps on Google Play that can do that, such as, TouchBlocker.