While "free" premium codes are rare, there are legal ways to get a code without paying:
If it fails, contact Kaspersky support with your proof of purchase.
: If you lost your code but have an active subscription, you can use the Kaspersky Support recovery tool by entering your registered email address. Important Safety Note