Using the same pro license in production on two or more instances is not allowed.
Using the same enterprise license in two or more instances is allowed and nothing happens.
The local
env is used when you want to modify the code, usually, the work is done locally. For example: if you have env local
and want to run a migration, it won't ask you if you are sure to migrate or not, it will simply run the command.