Block edit query from other user

Can I block other user edit my query? If have, how do it (both GUI and API)? Please help me