Just found out that using YouTube with AirPlay from iPhone to mac allows to use the app in background mode without having to subscribe for premium. I can continue using other apps on my phone while YouTube plays in the background! This locks the mac instead. I cannot use the mac while doing this, which is fine.