They way
I'd do it would be to use z-wave enable locks with an open source controller and a z-wave pocket remote. Once you've got that in, you can do TRVs, boiler controls, flood detectors, light switches, sockets, geo-location, voice intergration, motion and open sensors and so on. Your imagination is pretty much your only limitation, although some of the logic can be 'interesting'
Window openers are also available, but primarily for roof windows. 'Normal' windows would be trickier, I admit. Personally never really considered windows as 'central locking' although they obviously are on a car, but we don't normally go in and out through them
C