Theos NIC for liblockscreen, with basic code to get you started.