To clarify one thing: it's not like VS with its own proprietary compiler and build system. You choose what c, c++ compiler (eg gcc, g++), debugger (gdb), copy of cmake etc to use. Projects are built from a CMakeLists.txt you maintain.
Anyone with cmake (and know how to use it) can build your source.
Haven't messed with it much so I don't know yet what ways it DOES lock you in. There's probably something.. (other than needing to use cmake)
edit: By all that I mean, you can use the versions of SFML compiled for whatever compiler you plan to use it with.