The property of star formation rate (SFR) is tightly connected to the amount of dense gas in molecular clouds. However, it is not fully understood how the relationship between dense molecular gas and star formation varies within galaxies and in different morphological environments. Most previous studies have typically been limited to kiloparsec-scale resolution such that different environments could not be resolved. In this work, we present new ALMA observations of HCN(1−0) at 260 pc scale to test how the amount of dense gas and its ability to form stars varies with environmental properties. Combined with existing CO(2−1) observations from ALMA and Hα from MUSE, we measured the HCN/CO line ratio, a proxy for the dense gas fraction, and SFR/HCN, a proxy for the star formation efficiency of the dense gas. We find a systematic > 1 dex increase (decreases) of HCN/CO (SFR/HCN) towards the centre of the galaxy, and roughly flat trends of these ratios (average variations < 0.3 dex) throughout the disc. While spiral arms, interarm regions, and bar ends show similar HCN/CO and SFR/HCN, on the bar, there is a significantly lower SFR/HCN at a similar HCN/CO. The strong environmental influence on dense gas and star formation in the centre of NGC 4321, suggests either that clouds couple strongly to the surrounding pressure or that HCN emission traces more of the bulk molecular gas that is less efficiently converted into stars. Across the disc, where the ISM pressure is typically low, SFR/HCN is more constant, indicating a decoupling of the clouds from their surrounding environment. The low SFR/HCN on the bar suggests that gas dynamics (e.g. shear and streaming motions) can have a large effect on the efficiency with which dense gas is converted into stars. In addition, we show that HCN/CO is a good predictor of the mean molecular gas surface density at 260 pc scales across environments and physical conditions.