Use sp_chgattribute to enable or disable partition-level locking. By default, partition locking is disabled.
sp_chgattribute objectname, 'ptn_locking’, value
objectname – is the name of the table on which to change ptn_locking.
value – set to 1 to enable and 0 to disable partition-level locking.
Permissions:Only the object owner can execute sp_chgattribute.
sp_chgattribute authors, "ptn_locking", 1
sp_chgattribute authors, "ptn_locking", 0