Steam Support replied
It does not work.
A staff member has replied to your question:
Hello Ana, Thank you for contacting Steam Support. Unfortunately, used CD Keys (whether resold or given by an individual or a store selling used goods) cannot be reset. If you have recently purchased this product, please contact the seller to discuss a refund or exchange.