Questions & Answers about На столе лежит шифр.
Because на can mean either on or onto, depending on the case.
- на столе = on the table (location, no movement)
- на стол = onto the table (motion toward the surface)
Here the sentence describes where something already is, so Russian uses the prepositional case: стол → столе.
Лежит is the 3rd person singular of лежать, meaning to lie or to be lying.
Russian often uses a position verb where English would often just say is. So instead of simply saying The cipher is on the table, Russian naturally says something more like The cipher is lying on the table.
This suggests the object is resting on the surface, probably flat or simply placed there.