Switch
<FormField id="unlock">
<Switch
checked={this.state.checked}
onChange={({target: {checked}})=>{
this.setState({checked})
}}
/>
<label>Lock/Unlock</label>
</FormField>
Disabled
Use disabled
property to disable component
<FormField id="lock">
<Switch
checked={this.state.checked}
disabled
onChange={({target: {checked}})=>{
this.setState({checked})
}}
/>
<label>Lock/Unlock</label>
</FormField>