Restored iPad , old Apple ID, find my iPhone still on
If the account is truly deleted and you can no longer login, you'll have to contact Apple for them to remove the lock for you. You'll probably need to show proof of purchase, ID or similar.