Shrinking Door-keys are shortly mentioned in Harry Potter and the Chamber of Secrets. Arthur Weasley has some trouble with them at work.
From the Story[]
"Shrinking door-keys are used by wizards for purposes of Muggle-baiting. The keys shrink to nothing, confusing Muggle owners who assume that they just keep losing them."