Locked topology if it is under deploying or deployed

Modify a deployed topology will lead to inconsistent state between
cached topology and actual topology. Therefore, we need to block
topology modification if it is deployed. The next step is to create
a set of runtime operations which modify the topology at runtime.