Modify code so that the LockScreen appears in a window on the iPad, mimicking Apple's lock screen implementation.