A man found the device while sorting through items he bought from an abandoned storage locker, police said.