If your environment currently has Windows 10 devices locally domain joined, you will need to Hybrid Azure AD join your devices before you can enable Co-Management in ConfigMgr. Hybrid Azure AD joining your devices is a process that automatically registers your on-premises domain-joined devices with Azure AD. For more context on this process, check out the Introduction to device management in Azure Active Directory, as well as this documentation about How to plan your Hybrid Azure AD join.