Accessing pixel values of Texture2D

It works for me. Is it possible to sample the texture with bilinear filter? I don’t want the exact pixel value, I need the interpolated value.

Does locking/unlocking frequently affects performance?

Thanks!