I'm still a bit confused, because right after sending them, I could spend the coins in another transaction. Here is an example transaction:
"locktime" : 3,
The reason why you were able to spend that tx is because of this. What you've done is made a transaction that can't be spent in any block before block #3, which was over four years ago.
What did you expect to happen?