No, investment tagged to goals does not get locked up in any manner. Further, you can untag and sell these investments any time you wish.