What if iPad is locked by Guided Access and Passcode?

Please try the following steps to unlock: “Device” > “Device Management” > Select the Device > “Action” > “Advance” > “Enable Lost Mode” “Device” > “Device Management” > Select the Device > “Action” > “Advance” > “Disable Lost Mode”