:O I think that's a piece of a chastity belt? It connected to a belt. The husband would keep the key and the piece you have would be locked when the husband was away, so no one could have intimacies with the wife.
If it was in an 1800 or older house, I'd auction that on ebay.