If this is from the game "Time Riddles: The Mansion", it's a padlock. The "friend" reference would be a key.
Didn't find the answer you were looking for?