I have been creating an application for taking the test. So, for that, I have to do two things. First, disable the drag of the Tkinter window and don't let the user focus on other windows rather than my application window. This means I wanted to make my application such that, No other application can be used while my application is in use.