It depends on what you mean.
The key to your room is the key which operates the lock on the door of your room.
The key from your room is a different key, one that doesn't work on that door, which you left in your room and now can't find. Perhaps it was your car key.
Hope that's clear.
Student or Learner