Is there a way I can stop a user adding or widening columns without locking the spreadsheet??

I've seem other spreadsheets with limited number of columns, how is this put in place??

Thanks