In this paper, we address the digitization of physical assets using blockchain technology focusing on energy and peer-to-peer trading on decentralized energy markets. Because they are forward markets and operate on a day-ahead timeline, the energy transactions are settled only at the movement of energy delivery. Having the option of locking the energy tokens by a third-party escrow becomes a highly desirable feature. Thus, we define a Lockable ERC20 token that provides the option for an owner to...