The passcode is only for the phone or tablet you are using and for the account that's currently logged in.
"To always require a passcode when returning to Drive, choose the Always Lock option from the passcode settings screen. Without Always Lock enabled, you will be prompted for the passcode only after 15 minutes or more of inactivity. If you have multiple accounts linked to your Drive app and want to switch between them, you'll only be required to enter passcodes for accounts with codes that have already been created," informs Google.
"If you have forgotten the passcode for your Drive app and have entered the wrong code 5 times, a menu will appear allowing you to remove your account from the app without a passcode. You can then re-add the account to the app without a passcode. After entering the wrong passcode 20 times, you will be prompted to remove your account from the app and will no longer have the option of trying again to enter the passcode."