<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "ManagedSettings",
  "identifier" : "/documentation/ManagedSettings/CellularSettings/lockCellularPlan-swift.type.property",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Managed Settings"
    ],
    "preciseIdentifier" : "s:15ManagedSettings08CellularB0V04lockC4PlanAA15SettingMetadataVySbGvpZ"
  },
  "title" : "lockCellularPlan"
}
-->

# lockCellularPlan

The metadata associated with the constraint that locks the user’s cellular plan.

```
static let lockCellularPlan: SettingMetadata<Bool>
```

## Discussion

The default value is `false`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)