The metaphor of God constructing and winding up a clock (the universe) and letting it run until the end of time is often used.
On some accounts, God could step in and adjust the clock and so a miracle (a violation of natural law) would occur.