Now I just lock my phone for certain amount of time and try to do something else or engage myself into new things such as reading, learning new skills and etc
For me kitchen safe has worked and it has helped me cope with my phone addiction and allowed me to stay away from my phone before going to bed which has improved my sleep quality