added open lock with a key