Prevent the drawer from being opened when locked

The user isn't able anymore to open the drawer by swipping from the left
side of the screen after it's been closed and locked.