It is not a lineage problem, it is security implemented in Android 13, it seems to me.
Try activating accessibility services again (you have to see that restricted settings notice again)
Then go to settings > applications > Macrodroid (it is the screen where you can force stop, clear cache, uninstall etc etc) it is the app information
In the upper right corner you will find 3 dots, and an option to allow secure settings, once it allows it it will let you activate accessibility services without restriction.