Code-lock is a project mainly written in C and C++, it's free.
Simple home security system (in c++) with Qt elements