Implement /rangelock

More info: http://www.smogon.com/forums/threads/3517493/
I don't really agree with this.