in dock
1. Literally, of a boat or ship, moored at a dock. My uncle owns a small river boat in Cambridge, but it's been in dock for years.
2. In custody for a crime. Primarily heard in UK. A former aide of the slain member of parliament is in dock on suspicions of involvement in his murder.
3. In trouble with a figure or body of authority. Primarily heard in UK. The football manager may be in dock after making a series of inflammatory comments about the referee overseeing last night's match.