Ensure you are entering all 20 characters correctly, including hyphens if required.

Navigate to System Utilities > License Management > Activate a License . Enter the 20-digit code; if the PC is online, it will communicate with the server and activate immediately.