The above uses another non-existent concept: a time-unlock or time-switch. Currently we have relative and absolute timelocks, but we don't have a way to unlock some behavior after some time. The ability to do that would allow these bitcoin vaults to do the above in a single transaction that becomes finalized after some time (eg 1000 blocks in the above example) without any additional transaction needed. Without that, 2 transactions are needed (one transaction with a timelocked transaction who's script is similar to B1 and B2 above and then another non-timelocked transaction to the destination).
So it seems you have some core misconceptions with how script validation works today.
OP_IF op_checksigverify OP_CSV OP_ELSE OP_checksigverify OP_CSV OP_ENDIF OP_DROP
does exactly what you're saying (unlocks a behavior after a specific time). You can implement the logic you wanted exactly like this.
I'll try to recommend some resources so you can learn more about Bitcoin script, which I think would enhance your understanding! This is hard stuff, but it's worth fully understanding if you're interested in programming Bitcoin.
https://medium.com/summa-technology/bitcoins-time-locks-27e0c362d7a1https://bitcoin.stackexchange.com/questions/75232/bitcoin-script-tutorialOnce you've done that, feel free to reach back out and we can carry on the conversation, but I think without that context it will be hard to get on the same page about what CTV is accomplishing...