Conda should not lock the environment.
Conda doesn't need to lock anything in the CIs it is just creating some hard links from files. This issue will persist on our mac machine.
I don't know how to prevent conda from locking things but we should figure this out soon.