REST API Upload binary file to LFS?

Hi,

Is it possible to use the REST API to
1 - lock an existing LFS file,
2- upload a modified version of the LFS file
3 - unlock the LFS file making it available to others ?