Spring loaded bayonets on firearms do, as mentioned, date back to mid-late 18th century, to Waters Patent muskets and blunderbus. Although the mechanism is relatively simple, I would still guess that this would be about the time frame for spring-loaded knives. Perhaps others have examples to show?