Whether the currently active environment is locked.
When true, any call to switchTo will throw EnvSwitchLockedException.
true
EnvSwitchLockedException
bool get isCurrentLocked => _lockedEnvironments.contains(current);