On iPhone simulator I moved my app to the background, because I was in Settings. Then I quit the CarPlay window (red dot), and relaunched it again from I/O -> External Displays -> CarPlay; The iPhone screen has been locked, and now the CarPlay is working;
Topic:
App & System Services
SubTopic:
Core OS
Tags: