In the standard Gin Rummy game, a player will not be able to knock unless they have 10 or even fewer points of deadwood. If a player has "0" points of deadwood then they should knock. Basically, the deadwood is those cards that are not in the meld. So the points on deadwood will be calculated according to the cards like aces (1 point) and face cards (10 points).
Now if a player knocks with "0" points of deadwood then it is known as a Gin Hand or Going Gin. A player has to announce he is knocking and needs to lay out his hand with the clearly indicated melds and the deadwoods kept separately. At this point, the defending player will get the opportunity to lay off any particular deadwood card that fits into the knockers meld. For example: The defender has a 3♣ while the knocker has 3♠ and 3♥ then the defender can give their 3♣, which will form a ‘same rank’ meld. The defender will also be able to reduce their deadwood count by at least 10 points.
There are different types of bonuses like knock points, Gin Bonus, UnderCut, Line Bonus, Game Bonus, Shutout Bonus, and Big Gin. The type and amount of bonus will vary from one region or one online casino to another.