have reported mixed results when attempting to activate SolidWorks 2018 on Windows 11: Activation Errors:
If you do manage to get it running, ensure your hardware meets the minimum needs to avoid crashes: solidworks 2018 activator for windows 11
If you are a student, you can often get a free, legal license through the SOLIDWORKS Student Access program Activation Help: have reported mixed results when attempting to activate