We're facing the same issue here. We need to activate a vehicle gate via Bluetooth through CarPlay.
If the phone's screen is "off," the Bluetooth command isn't sent. However, if the user taps the screen just enough to turn it on (without even unlocking), then the command can be sent.
Is there any documentation or solution for this? other than simply testing to see what happens?