Problem about key & lock

I made a key & a lock for a door & the lock works when I opening the door. But I made the master copy with this key for my friend, he can not open the door anyway. It's a bug or wrong operation?
Ravi wrote:can you make a key that anyone can use, even if you don't attune it? my computer can't run two clients at the same time so I can't attune a key to an alt. I have to give the alt a key they can use