Locking and securing devices comprising nails, screws, bolts, or pins traversing or entering the socket