Lock all fields and all buttons related for update functions
Note: Support only DataWindow dw_1
window.lock();