use lock/unlock service of environment server to lock/unlock the environment during planning
Merge pull request #72 from garaemon/support-latest-env-server-api

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