The lock screen widgets functionality that was introduced with Android 4.2 is incredibly useful. Lock screen widgets deliver at-a-glance information quickly and easily—without the need to fumble across home screens, apps, and menus. Their utility is then compounded when used in conjunction with lock screen security, since you can access this information without having to first unlock your device.
For some reason, however, Samsung decided that this functionality wasn’t important enough, as they have removed the possibility to add widgets when the device is secured. Thankfully, XDA Forum Member MohammadAG has created a quick modification that brings this functionality back. And just like the native Android functionality, it also enables a secure camera mode, where you can take new pictures and view them but not pictures taken previously.
The modification comes the form of a module for XDA Recognized Developer rovo89‘s fantastic Xposed framework (thread). It has thus far been tested on the Galaxy S 4 and Galaxy S III running the leaked 4.2.2 TouchWiz ROM, but it should work on any device running TouchWiz firmwares based on Android 4.2.