How do I stay more consistent with my deep work or any other habit?

Mina C.
Involve someone else and say that if you don't study/work today, he/she will take my phone away for 1 hour or impose another small "punishment ".
I've said to myself that if I don't do my deep work one day, until I finish it, my husband will ask me to put 30 pounds on our savings account and take my phone for 2 hours. If you think about it, it's only 25 or 30 mins. We can do this for our own good!