2 Samuel 20:3
And David came to his house at Jerusalem. And the king took the ten concubines whom he had left to care for the house and put them in a house under guard and provided for them, but did not go in to them. So they were shut up until the day of their death, living as if in widowhood.
2 Samuel 15:16
So the king went out, and all his household after him. And the king left ten concubines to keep the house.
2 Samuel 16:21-22
Ahithophel said to Absalom, "Go in to your father's concubines, whom he has left to keep the house, and all Israel will hear that you have made yourself a stench to your father, and the hands of all who are with you will be strengthened."
Genesis 40:3
and he put them in custody in the house of the captain of the guard, in the prison where Joseph was confined.