If you are using a Volume License Key, only a portion of the keys will be displayed when you use the slmgr /dlv command. This is for security reasons to prevent unauthorized access. If you need to see the full key, sign in to your Microsoft 365 admin center account to view it. For the details about Microsoft 365, you can see Frequently Asked Questions for the Volume Licensing Service Center | Microsoft Learn.
If you are using a Retail License Key, using the slmgr /dlv command should display the full key. If you still can't see the full key, try using the following command:
slmgr /xpr