For long exposures, just press the release button fully and slide it into the locked position. The shutter will stay open as long as the shutter release button is locked. To unlock the shutter, just slide the release button back to its original position.
eBay