---
title: lockESIM
framework: managedsettings
role: symbol
role_heading: Type Property
path: managedsettings/cellularsettings/lockesim-swift.type.property
---

# lockESIM

The metadata associated with the constraint that locks the user’s eSIM settings.

## Declaration

```swift
static let lockESIM: SettingMetadata<Bool>
```

## Discussion

Discussion The default value is false.

## See Also

### Locking the device’s eSIM settings

- [lockESIM](managedsettings/cellularsettings/lockesim-swift.property.md)
