A locking system for a floor panel includes a first connecting device, a second connecting device, and a third connecting device. The first connecting device includes a combination lock including an upwardly directed locking element configured to cooperate with a locking groove. The combination lock further including a flexible tongue in a displacement groove. The displacement groove and the flexible tongue of the combination lock are configured to cooperate with a tongue of a third connecting device.