Note: DVD playback feature isn't included in Windows Media Player 12 on Windows 10, you can manually add DVD playback to Windows 10 or use third-party DVD player like 5KPlayer to play DVDs freely including region-coded DVDs.
To enable Windows Media Player on Windows 10, click the Start Menu, and select Settings > Apps > Apps & Features > Manage optional features > Add a feature > Windows Media Player > Install. On Windows 10: Users don't need to download Windows Media Player 12 which is an optional feature on Windows 10. How to Download and Install Windows Media Player on Windows 10/11?