Make A Python Code For This Device Is Locked