Thanks Mehmetcik for taking the time to help me with this!

This code would do the trick if it doesn't protect the whole workbook, I need the workbook unprotect, any other suggestion to apply the protection only to the sheet that I want to protect