Create timelock.cpp