In ELSS the locking period of three years is present, otherwise it is like any other MF. So you can keep your investment after three years as long as you want.