Bar bolt lock for 17 mm profile cylinder, with retention pin