Autolocking cell after entering number and protecting the cell from editing

Hi.
I need help guys with vba.
So I created a table as shown in the attachment file. What I want is to autolock the cells from editing after entering the number between B2:M2, B3:M3 and so on. And password protect each cell under the sum column.
Thanks in advance!

AttachmentSize
autolocking cell after entering number and protecting the cell from editing.xlsx8.82 KB