# Viewing the Bypass Code and Clearing the Activation Lock for a Device

[**https://learn.jamf.com/bundle/jamf-school-documentation/page/Activation\_Lock.html**](https://learn.jamf.com/bundle/jamf-school-documentation/page/Activation_Lock.html)

<span style="font-weight: 400;">When viewing management information for a device, you can view the Activation Lock bypass code for the device and use it to clear Activation Lock.</span>

1. <span style="font-weight: 400;">In Jamf School, navigate to </span>**Devices** <span style="font-weight: 400;">&gt; </span>**Inventory** <span style="font-weight: 400;">in the sidebar.</span>
2. <span style="font-weight: 400;">Click on the device you need the Activation Lock bypass code for.</span>
3. <span style="font-weight: 400;">Use the Device Details pane to do one of the following:</span>

- <span style="font-weight: 400;">To clear the Activation Lock on the device, click </span>**Clear activation lock** <span style="font-weight: 400;">in the Activation Lock settings. The Activation Lock will be cleared on the device the next time the device checks in.</span>
- <span style="font-weight: 400;">To view the Activation Lock bypass code, navigate to the</span> **Bypass code** <span style="font-weight: 400;">inventory information in the Activation Lock settings. You can use the bypass code to manually clear Activation Lock on the device. When prompted, enter the bypass code in the password field, and then leave Apple ID field blank.</span>