Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
If you want to stay compliant with Microsoft's licensing requirements, you either have to purchase/assign suitable licenses for said users, or exclude them from any functionality that requires such licenses. The only exception would be when Microsoft hasn't provided the necessary controls for this (which of course doesn't mean you're allowed to use features unlicensed).