i have never had an issue doing this but others will say they have had problems. all you can do is give it a shot. won't take but a minute to get to the screen where you put the key in to find out if it will let it work.
did you use this key to upgrade to win 10? if so then it may not be usable as the license has been changed to a win 10 one. if this is a different key, then give it a shot.