Lewis Hamilton's Ferrari locked up and hit the barriers at the final corner, halting the session at Madring's new track.