Turn light on with motion sensor and keep it on if door sensor is off

See if this blueprint here will address what you’re trying to do: