use lock/unlock service of environment server to lock/unlock the environment during planinng