Barrel bolt for door is housed in casing subdivided into fixed volume and variable volume parts, one grouping together drive mechanism controls and other receiving transmission parts