The money moves on chain when you open or close a channel. For the lifetime of the channel it just sits there in a 2 of 2 multisig, waiting.
Discussion
Theres a new tech in development called splicing that will let you add or remove funds from a channel, but its not quite ready. I heard it will be done in 2 weeks.
Ohhh! So, when I open a channel to someone to send them money, I effectively lock the required resources (funding the channel, paying the fees, preparing outgoing payment) on-chain, send the relevant information through the channel, and then close the channel, in which cases the locked resources will switch ownership to someone else, as the transactions from within the channel are finalized on close.
Did I get that right? o.o
You typically don't close the channel after a single transaction. You leave it open indefinitely and you can route a great deal of payments through it. But you are able to close the channel at any time and get your money back.