Mother jailed for denying access to boy's dad