I have made a window screen using wooden strips, netting, some hardware and 3D printed parts.
It has a spring-loaded, double-herringbone pinion and rack mechanism that locks the screen into the window frame.
Description of the non-3d printed parts needed: