Key stays in until they are off the car - then close latch, re-lock, remove key
FYI I bit the bullet and got the OEM rails after not finding a suitable after market option. I have to say they are built very well, having used all the major brands for 25+ years, the fit, finish, quality are...