For starters, this has nothing to do with studio one. It has to do with whatever is generating your piano sound, whether that's a sampler like Kontakt, or a virutal piano plugin, or the onboard sounds of a workstation keyboard. Many of these sample the sound of a real piano pedal being depressed and released to give a more realistic recording. It would be in the settings of whatever piano software you're using. Are you recording audio from a workstation keyboard/sampler, or are you using a midi controller for a virtual instrument?