For the first part of your topic, you can already use the Shortcuts feature to schedule bulb on/off/etc. For instructions on using the Shortcuts feature, click the Support link, top right, and search for “shortcuts”.
For the 2nd part of your topic, see this: Allow schedule AND event to control shortcut / rule triggers. Be sure to click the VOTE button at the top and add any relevant comments in the replies if you wish.