The lock method of the Application class prevents other clients from modifying properties of the Application object.
public void lock();
unlock