Safety knives with spring mechanism