Bug 960901 - (lockscreen-instance) [LockScreen] Make LockScreen as an instantiable function