I've always been sort of jealous of people for whom this sort of solution works. When my brother was still in high school, I woke up to drive him to school every morning, then went back to sleep when I got home. I'm better about it now than I was then, but still not enough for this sort of thing to work. I keep my alarm clock on the other side of the room and I never even remember walking over there to turn it off.
Just leaving the phone across the room didn't work for me, but the lock did.
There are all sorts of possible schemes: I also thought about putting the clock up in an inaccessible location (a high shelf in my closet). Then turning it off would require physically dragging a stepladder or chair from some other room, bringing it in, being awake enough not to fall off it, etc.
This is the public group rationality diary for March 1-21, 2015. It seems to be traditional to put a jokily defensive remark about downvoting here, but let's try omitting it and see what happens. Usually these are for 2-week periods, but as I write this it's already the 6th so I've extended it one week; but I recommend that the next be for 2 weeks again, March 22 to April 4. Here's the usual explanation:
Thanks to cata for starting the Group Rationality Diary posts, and to commenters for participating.
Previous diary: February 15-28
Rationality diaries archive