Turns out Windows already gives you all the tools you need to block distracting apps and websites—you just have to put them ...
Use insert to add a new cell after the cell with the given cell_id (or at the beginning of the notebook if cell_id is omitted) — cell_type is required when inserting.