Ah, a case, well there's a useful bit of information. Considering that there aren't really any N900 cases available as of now I'm not particularly surprised that random aftermarket ones might cause trouble. Note that you can just press the powerbutton twice to lock.