Remote "origin" does not support the LFS locking API. Consider disabling it

Disabling the lfs lock by running the following command solves the issue:

git config lfs.https://[SITE_ID].netlify.com/.netlify/large-media.locksverify false

This is also mentioned here: