It is legal and protected by law.
After the trademark is successfully registered, it can be authorized to other people for use. You only need to file a trademark license contract.
Recording method
When licensing others to use a registered trademark, the licensor shall submit a copy of the contract to the Trademark Office for filing within 3 months from the date of signing the trademark license contract.
When submitting for filing, the licensor should submit the "Trademark License Contract Registration Form", a copy of the trademark license contract, a copy of the "Trademark Registration Certificate", and pay the filing fee in accordance with regulations.