Disabling close button to keep users from closing selected programs or just some windows based on application name or captions to ensure a proper use when there is a requirement of a clean logout before exit; this feature can secure connections for example using Telnet or preventing impatient users to cancel a DOS batch and consequently causing abnormal termination.
You can also use it to pilot topmost windows applications to be always visible on your desktop i.e. front end of all other windows displayed. Optionally use it in command line mode for example included in a batch, without desktop interaction to inactivate a special window close button during programs execution.