Don't use a constant string for lock

The commit here fixes the lock that was being used in the CLIModelControllerClient.