Live activity is a new feature added in iOS 16. It allows applications to post information to the dynamic island on the iPhone 14 Pro and on the lock screen on other phones. This demo show how to have live sports scores posted to these locations.
Here's a video that demonstrates how to control an alarm based on your calendar events. In this example I will turn my work alarm on or off based on a calendar event that says if I am working a weekend or not.