No. You can set a different passcode on each one of your devices. The passcode is not synced to the Telegram cloud.