Task UnlockEnvironment(
EnvironmentDto environment,
CompanyDto company,
UserSessionData unlockedBy,
bool isImplicitLock,
CancellationToken cancellationToken = default
)| UnauthorizedAccessException | Thrown if the user unlockedBy did not have the correct permissions |
| InvalidOperationException | Thrown if the environment we're trying to lock is the MainEnvironment of the company |
| ArgumentNullException | Thrown if environment, company or unlockedBy was |