Is it possible to deploy an Unlocked
package to a production org, then upgrade the package to Managed
and upgrade the package in the production org?
1 Answer
I have not tried this, but I don't think you could do.
The Salesforce DX Developer Guide:
Says:
You can’t change the package namespace or package type after you create the package.