One thing I have found that helps is "not finding my phone attractive". Weird phrasing, pardon my English.
Basically, I have a midrange phone that cannot play the latest games at 60fps, and has a crack on its tempered glass running through the middle. This functionality and appearance makes it much less appealing than say, a Kindle with no scratches to spend time on.
Due to this, I basically forget my phone is next to me on my bed, and it only serves to take calls if needed in the middle of the night and wake me up next morning with the alarm.
Good luck!