remove invalid code

remove code that attempted to patch the password/lock that does not work