The Internet of Things (IoT) and localization are two important technology enablers. An important IoT technology is the Narrow-Band Internet of Things (NB-IoT), which is a 3GPP standards compliant connectivity solution. Quantum computing, another developing technological paradigm, promises novel computational opportunities, but it has also been used to compromise many cybersecurity procedures. Therefore, improved methods to mitigate such jeopardies are needed. In this research, we propose a cryptographic system that guarantees post-quantum IoT security. The ultimate value of a location-driven cryptosystem is to use geographic location as a player's identity and credential. Position-driven cryptography using lattices is efficient and lightweight, and it can be used to protect sensitive and confidential data in many critical situations that rely heavily on exchanging confidential data. Based on our best knowledge, this research starts the study of unconditional-quantum-resistant-location-driven cryptography by using the Lattice problem for the Internet of Moving Things (IoMT) in pre-and post-quantum world. Unlike existing schemes, the proposed cryptosystem is the first secure and unrestricted position-based protocol that guards against any number of collusion attackers and against quantum attacks. It has a guaranteed authentication process, solves the problems of distributing public keys by cancelling public key infrastructure (PKI), offers secure NB-IoT without SIM cards, and resists location spoofing attacks. Furthermore, it can be generalized for any network -not just NB-IoT.