Bar bolt lock for square hexagon socket with guide pin and fixing parts