I'm not aware of a digital camera that can take a 10 minute continuous exposure, but maybe there are special astronomy cameras that can?
My Canon can do this without modification and its 8 years old. Switch to bulp and have an external mini device which you connect with a microphone cable and it creates the signal for shutter off after x minutes.
For extra long exposre its recommended to use also a stable powersource.
Do iPhones count?
I've taken multi-hour continuous exposures on my iPhone + iPad (both "normal" and "light trail" variants.)
By the looks of [0], you can do at least 90 seconds on the Olympus E-M5 MK II - which is what I have and I'll see if it can do 10 minutes tonight.
[0] https://www.olympuspassion.com/2019/08/26/long-exposures-wit...
Pretty much every DSLR/DSLM camera out there has a "bulb" mode that keeps the shutter open as long as you hold down the shutter button. I think my personal record is a 20-minute exposure.
As for actually holding down the button, you can either use an external wired shutter button that has a mechanical lock to hold it down, or you use a wired controller that has an electronic timer, or you use a software feature in the camera to set the bulb timer.