I have written a script to display weather and calendar details on lock screen. The script is called using a shortcut which can then be run using iOS Automation.
Check out the script here.
Download the shortcut from here.
Check the installation and configuration steps on the GitHub page.
Any feedback/criticism is welcomed.