error: the option `--locked` can only be used within a workspace