In this case, if your touchscreen isn't working properly (the last patter buttons are disabled\aren't working), it's highly advised to contact a specialized service. This is a serious problem and you can't fix this by yourself. You can remove the pattern lock by performing a factory reset of your device, but you will continue to encounter touchscreen problems.