Slow reaction to awake when writing login pattern

I have to wait about 10 seconds before the screen reacts when I want to put in my openig pattern.