Disabling specific inputs

In this manner, you are not truly “blocking input” but rather filtering it based on a secondary value (in this case, readiness to perform action).