If you have forgot your password, perform a Factory Reset. Remove the S-Pen and press Volume UP + Power until the phone restarts in Recovery Menu. Select Wipe Data and restart the phone. Next time the phone will boot, it will be restored to factory condition. Once the process is completed, you can use it accordingly.