Implementing scene locking and users keychain