[sdl2] add locking and unlocking surfaces