someone's back is turned
US /ˈsʌm.wʌnz bæk ɪz tɜrnd/
UK /ˈsʌm.wʌnz bæk ɪz tɜrnd/

1.
when someone is not looking or paying attention
:
•
The children started playing pranks as soon as their mother's back was turned.
•
He always tries to sneak a cookie when my back is turned.