Dogs bury things that they see as valuable in order to save them for later.
Sometimes we teach Dogs that the sock is a valuable thing because anytime they have it, we chase them and take it back.
If you see them with the sock, calmly ask them to sit or trade it for a toy.
When your dog complies, praise them lavishly!